[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/22: gnu: commencement: mes-boot: Update to 0.24.1, support ARM.
From: |
guix-commits |
Subject: |
08/22: gnu: commencement: mes-boot: Update to 0.24.1, support ARM. |
Date: |
Sun, 16 Oct 2022 05:26:46 -0400 (EDT) |
janneke pushed a commit to branch wip-aarch64-bootstrap
in repository guix.
commit 8da5022ed7c47de1c1395ae98c14ca0e4dd987de
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sat Oct 15 11:52:49 2022 +0200
gnu: commencement: mes-boot: Update to 0.24.1, support ARM.
* gnu/packages/commencement.scm (mes-boot)[source]: Update to 0.24.1.
[supported-systems]: Add
armhf-linux, aarch64-linux.
[arguments]: Use actual cpu in --host argument to configure.sh.
Set stage0_cpu in environment to work around bootstrap.sh bug.
---
gnu/packages/commencement.scm | 23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index babd749dc6..e8e4de9ffe 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -443,17 +443,18 @@ MesCC-Tools), and finally M2-Planet.")
(package
(inherit mes)
(name "mes-boot")
- (version "0.24")
+ (version "0.24.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/mes/"
"mes-" version ".tar.gz"))
(sha256
(base32
- "00lrpm4x5qg0l840zhbf9mr67mqhp8gljcl24j5dy0y109gf32w2"))))
+ "0d855agwawjjzwbjmvb5xlbwg77zdpwbjm9kjxc2wqvn0vmhq4im"))))
(inputs '())
(propagated-inputs '())
- (supported-systems '("i686-linux" "x86_64-linux"))
+ (supported-systems '("armhf-linux" "aarch64-linux"
+ "i686-linux" "x86_64-linux"))
(native-inputs
`(("m2-planet" ,stage0-posix)
("nyacc-source" ,(bootstrap-origin
@@ -468,7 +469,7 @@ MesCC-Tools), and finally M2-Planet.")
#:strip-binaries? #f ;no strip yet
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'unpack-seeds
+ (add-after 'unpack 'unpack-extra-sources
(lambda _
(let ((nyacc-source #$(this-package-native-input
"nyacc-source")))
(with-directory-excursion ".."
@@ -477,12 +478,22 @@ MesCC-Tools), and finally M2-Planet.")
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out #$output)
(gash #$(this-package-native-input "bash"))
- (dir (with-directory-excursion ".." (getcwd))))
+ (dir (with-directory-excursion ".." (getcwd)))
+ (target (or #$(%current-target-system)
+ #$(%current-system)))
+ (cpu
+ (cond
+ ((or #$(target-x86-64?) #$(target-x86-32?))
+ "x86")
+ (#$(target-arm?)
+ "arm")
+ (else
+ (error "mes-boot: system not supported" target)))))
(setenv "GUILE_LOAD_PATH" (string-append
dir "/nyacc-1.00.2/module"))
(invoke "gash" "configure.sh"
(string-append "--prefix=" out)
- "--host=i686-linux-gnu"))))
+ (string-append "--host=" cpu "-linux-gnu")))))
(replace 'build
(lambda _
(invoke "gash" "bootstrap.sh")))
- 16/22: gnu: commencement: glibc-mesboot0: Support ARM., (continued)
- 16/22: gnu: commencement: glibc-mesboot0: Support ARM., guix-commits, 2022/10/16
- 05/22: gnu: mes: Update to 0.24.1., guix-commits, 2022/10/16
- 11/22: gnu: commencement: tcc-boot: Support ARM., guix-commits, 2022/10/16
- 18/22: squash! gnu: commencement: glibc-mesboot0: Use ARM_EABI syscalls., guix-commits, 2022/10/16
- 22/22: gnu: bootstrap: linux-libre-headers-bootstrap: Support ARM., guix-commits, 2022/10/16
- 10/22: gnu: commencement: make-mesboot0: Support ARM., guix-commits, 2022/10/16
- 12/22: gnu: commencement: patch-mesboot: Support ARM., guix-commits, 2022/10/16
- 14/22: gnu: commencement: gcc-core-mesboot0: Support ARM., guix-commits, 2022/10/16
- 19/22: squash! gnu: commencement: glibc-mesboot0: Support ARM: Fix 0x9f0002 => 0xf0002, add #warning., guix-commits, 2022/10/16
- 21/22: gnu: commencement: gcc-mesboot0: Support ARM., guix-commits, 2022/10/16
- 08/22: gnu: commencement: mes-boot: Update to 0.24.1, support ARM.,
guix-commits <=
- 15/22: gnu: commencement: mesboot-headers: Support ARM., guix-commits, 2022/10/16
- 07/22: gnu: commencement: gzip-mesboot: Support ARM., guix-commits, 2022/10/16
- 17/22: squash! gnu: commencement: glibc-mesboot0: Support ARM., guix-commits, 2022/10/16
- 20/22: squash! gnu: commencement: glibc-mesboot0: More minimal syscall patch (non-EABI)., guix-commits, 2022/10/16