[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
43/60: gnu: Add byacc-mesboot.
From: |
guix-commits |
Subject: |
43/60: gnu: Add byacc-mesboot. |
Date: |
Sun, 24 Nov 2024 02:50:16 -0500 (EST) |
efraim pushed a commit to branch wip-riscv-bootstrap
in repository guix.
commit 0eae3d5021b522f80fb18fe779b449886a785b56
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 21 14:42:20 2024 +0300
gnu: Add byacc-mesboot.
* gnu/packages/commencement.scm (byacc-mesboot): New variable.
Change-Id: I2bbda955702ec3ecb0c3ca1d3f336fd931d7c10a
---
gnu/packages/commencement.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 9d1b0b2c94..08b162f389 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2076,6 +2076,42 @@ ac_cv_c_float_format='IEEE (little-endian)'
(name "binutils-mesboot")
(native-inputs (%boot-mesboot2-inputs))))
+;; We need to introduce byacc in order to process some pre-generated
+;; files in gawk and possibly elsewhere.
+(define byacc-mesboot
+ (package
+ (inherit byacc)
+ (name "byacc")
+ (version "20240109")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://invisible-mirror.net/archives/byacc/byacc-"
+ version ".tgz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0il4w1vwbglayakywyghiqhcjpg1yvv5ww2p8ylz32bi05wpg2gj"))))
+ (native-inputs (if (target-x86?)
+ (%boot-mesboot1-inputs)
+ (%boot-muslboot2-inputs)))
+ (inputs '())
+ (propagated-inputs '())
+ (arguments
+ `(#:implicit-inputs? #f
+ #:parallel-build? #f
+ #:guile ,%bootstrap-guile
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (man1 (string-append out "/share/man/man1")))
+ (install-file "yacc" bin)
+ (symlink "yacc" (string-append bin "/byacc"))
+ (install-file "yacc.1" man1)))))))))
+
;; Sadly we have to introduce Gawk here. The "versions.awk" script of
;; glibc 2.16.0 is too complicated for Gash-Utils. This is the version
;; of Gawk used previously during bootstrap. It's possible that a newer
- 27/60: gnu: Add oksh-muslboot0., (continued)
- 27/60: gnu: Add oksh-muslboot0., guix-commits, 2024/11/24
- 12/60: gnu: gcc-core-mesboot0: Use commencement-build-target., guix-commits, 2024/11/24
- 14/60: gnu: gcc-mesboot0: Use commencement-build-target., guix-commits, 2024/11/24
- 15/60: gnu: binutils-mesboot1: Use commencement-build-target., guix-commits, 2024/11/24
- 18/60: gnu: gcc-mesboot: Use commencement-build-target., guix-commits, 2024/11/24
- 22/60: gnu: tcc-boot: Support more architectures., guix-commits, 2024/11/24
- 25/60: gnu: Add tcc-boot-musl., guix-commits, 2024/11/24
- 34/60: gnu: gcc-core-mesboot1: Adjust for dependency changes., guix-commits, 2024/11/24
- 38/60: gnu: Add gcc-muslboot0., guix-commits, 2024/11/24
- 42/60: gnu: hello-mesboot: Add support for riscv64-linux., guix-commits, 2024/11/24
- 43/60: gnu: Add byacc-mesboot.,
guix-commits <=
- 46/60: gnu: Add mawk-mesboot., guix-commits, 2024/11/24
- 49/60: gnu: %boot-mesboot6-inputs: Adjust for riscv64-linux., guix-commits, 2024/11/24
- 48/60: gnu: mesboot-package: Adjust for riscv64-linux builds., guix-commits, 2024/11/24
- 53/60: gnu: file-boot0: Fix building on riscv64-linux., guix-commits, 2024/11/24
- 52/60: gnu: findutils-boot0: Adjust the skipped tests on riscv64-linux., guix-commits, 2024/11/24
- 21/60: gnu: tcc-boot0: Specify the build target., guix-commits, 2024/11/24
- 31/60: gnu: gmp-boot: Update and build package., guix-commits, 2024/11/24
- 32/60: gnu: mpfr-boot: Update and build package., guix-commits, 2024/11/24
- 37/60: gnu: gcc-mesboot: Adjust for changes in gcc-mesboot1., guix-commits, 2024/11/24
- 39/60: gnu: Add musl-boot., guix-commits, 2024/11/24