[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/60: gnu: Add oksh-muslboot0.
From: |
guix-commits |
Subject: |
27/60: gnu: Add oksh-muslboot0. |
Date: |
Sun, 24 Nov 2024 02:50:13 -0500 (EST) |
efraim pushed a commit to branch wip-riscv-bootstrap
in repository guix.
commit 5306fb7d13fc278c3da69cc67deb24b866ff6b7a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Oct 9 14:03:41 2024 +0300
gnu: Add oksh-muslboot0.
* gnu/packages/commencement.scm (oksh-muslboot0): New variable.
Change-Id: I37bf7ac4c3cac842c217c297f257e8143fb2eaf8
---
gnu/packages/commencement.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 37b418707a..e05be3ab7d 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1070,6 +1070,36 @@ MesCC-Tools), and finally M2-Planet.")
"-o" "tcc"
"tcc.c"))))))))))
+;; Gash served us well, but there are known issues on riscv64.
+;; OpenBSD's ksh will do just fine as a replacement until we get to bash.
+(define oksh-muslboot0
+ (package
+ (inherit oksh)
+ (source (bootstrap-origin (package-source oksh)))
+ (arguments
+ (list
+ #:implicit-inputs? #f
+ #:guile %bootstrap-guile
+ #:tests? #f ; No tests.
+ #:strip-binaries? #f ; No strip yet.
+ #:parallel-build? #f ; Race conditions.
+ #:configure-flags
+ #~(list "--cc=tcc"
+ "--enable-static")
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; make: install: Command not found
+ (replace 'install
+ (lambda _
+ (install-file "oksh" (string-append %output "/bin"))
+ (install-file "oksh.1" (string-append %output
"/share/man/man1"))
+ ;; For compatibility and ease of use in later builds.
+ (symlink "oksh" (string-append %output "/bin/sh"))
+ (symlink "oksh" (string-append %output "/bin/bash"))))
+ (delete 'compress-documentation))))
+ (native-inputs (modify-inputs (package-native-inputs tcc-musl)
+ (replace "tcc" tcc-musl)))))
+
(define binutils-mesboot0
;; The initial Binutils
(package
- 13/60: gnu: glibc-mesboot0: Use commencement-build-target., (continued)
- 13/60: gnu: glibc-mesboot0: Use commencement-build-target., guix-commits, 2024/11/24
- 03/60: gnu: mes-boot: Update to 0.27., guix-commits, 2024/11/24
- 19/60: gnu: mes-boot: Enable support for armhf-linux and aarch64-linux., guix-commits, 2024/11/24
- 17/60: gnu: glibc-headers-mesboot: Use commencement-build-target., guix-commits, 2024/11/24
- 23/60: gnu: tcc-boot: Update to 0.9.27.1139-8cd21e9., guix-commits, 2024/11/24
- 29/60: gnu: Add %boot-tcc-musl-inputs., guix-commits, 2024/11/24
- 28/60: gnu: Add binutils-muslboot0., guix-commits, 2024/11/24
- 11/60: gnu: binutils-mesboot0: Use commencement-build-target., guix-commits, 2024/11/24
- 20/60: gnu: gcc-mesboot1-wrapper: Correctly target more systems., guix-commits, 2024/11/24
- 06/60: gnu: Add commencement-build-target., guix-commits, 2024/11/24
- 27/60: gnu: Add oksh-muslboot0.,
guix-commits <=
- 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, 2024/11/24