[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/18: gnu: commencement: mes-boot: Update to 0.24.1, support ARM.
From: |
guix-commits |
Subject: |
08/18: gnu: commencement: mes-boot: Update to 0.24.1, support ARM. |
Date: |
Wed, 19 Oct 2022 01:38:51 -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")))
- 04/18: gnu: mes: Update to 0.24., (continued)
- 04/18: gnu: mes: Update to 0.24., guix-commits, 2022/10/19
- 15/18: gnu: bootstrap: linux-libre-headers-bootstrap: Support ARM., guix-commits, 2022/10/19
- 10/18: gnu: commencement: make-mesboot0: Support ARM., guix-commits, 2022/10/19
- 07/18: gnu: commencement: gzip-mesboot: Support ARM., guix-commits, 2022/10/19
- 16/18: gnu: commencement: mesboot-headers: Support ARM., guix-commits, 2022/10/19
- 11/18: gnu: commencement: tcc-boot: Support ARM., guix-commits, 2022/10/19
- 06/18: gnu: commencement: gash-boot: Build fix for ARM., guix-commits, 2022/10/19
- 03/18: DRAFT gnu: bootstrap: mes-minimal: Remove packages and tarball., guix-commits, 2022/10/19
- 12/18: gnu: commencement: patch-mesboot: Support ARM., guix-commits, 2022/10/19
- 13/18: gnu: commencement: binutils-mesboot0: Support ARM., guix-commits, 2022/10/19
- 08/18: gnu: commencement: mes-boot: Update to 0.24.1, support ARM.,
guix-commits <=
- 18/18: gnu: commencement: gcc-mesboot0: Support ARM., guix-commits, 2022/10/19
- 14/18: gnu: commencement: gcc-core-mesboot0: Support ARM., guix-commits, 2022/10/19
- 09/18: gnu: commencement: tcc-boot0: Update to 0.9.26-1134, support ARM., guix-commits, 2022/10/19
- 05/18: gnu: mes: Update to 0.24.1., guix-commits, 2022/10/19
- 17/18: DRAFT gnu: commencement: glibc-mesboot0: Support ARM., guix-commits, 2022/10/19