[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/16: DRAFT commencement: mes-boot: Support ARM.
From: |
guix-commits |
Subject: |
11/16: DRAFT commencement: mes-boot: Support ARM. |
Date: |
Mon, 21 Dec 2020 05:06:58 -0500 (EST) |
janneke pushed a commit to branch wip-arm-bootstrap
in repository guix.
commit 5723de334206cdb1ea6433d7cde56c4be6de92ab
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Dec 15 19:39:24 2020 +0100
DRAFT commencement: mes-boot: Support ARM.
* gnu/packages/commencement.scm (mes-boot): Inherit from mes-next.
[native-inputs]: Upadate to nyacc-1.00.2.
[arguments]: Cater for armhf-linux, aarch64-linux.
---
gnu/packages/commencement.scm | 21 ++++++++-------------
1 file changed, 8 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index f30146a..0f2cd1c 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -351,20 +351,12 @@ $MES -e '(mescc)' module/mescc.scm -- \"$@\"
(define mes-boot
(package
- (inherit mes)
+ (inherit mes-next)
(name "mes-boot")
- (version "0.22")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://gnu/mes/"
- "mes-" version ".tar.gz"))
- (sha256
- (base32
- "0p1jsrrmcbc0zrvbvnjbb6iyxr0in71km293q8qj6gnar6bw09av"))))
(inputs '())
(propagated-inputs '())
(native-inputs
- `(("nyacc-source" ,(origin (inherit (package-source nyacc-0.99))
+ `(("nyacc-source" ,(origin (inherit (package-source nyacc-1.00.2))
(snippet #f)))
("mes" ,%bootstrap-mes-rewired)
("mescc-tools" ,%bootstrap-mescc-tools)
@@ -393,10 +385,14 @@ $MES -e '(mescc)' module/mescc.scm -- \"$@\"
(setenv "GUILE_LOAD_PATH"
(string-append
mes "/share/mes/module"
- ":" dir "/nyacc-0.99.0/module"))
+ ":" dir "/nyacc-1.00.2/module"))
(invoke "gash" "configure.sh"
(string-append "--prefix=" out)
- (string-append "--host=i686-linux-gnu")))))
+ (string-append ,(match (%current-system)
+ ((or "armhf-linux" "aarch64-linux")
+ "--host=arm-linux")
+ ((or "i686-linux" "x86_64-linux")
+ "--host=i686-linux-gnu")))))))
(replace 'build
(lambda _
(invoke "sh" "bootstrap.sh")))
@@ -434,7 +430,6 @@ $MES -e '(mescc)' module/mescc.scm -- \"$@\"
(separator #f)
(files '("")))))))
-
(define tcc-boot0
;; Pristine tcc cannot be built by MesCC, we are keeping a delta of 11
;; patches. In a very early and rough form they were presented to the
- 05/16: bootstrap: mescc-tools: Support ARM, update to 0.7.0., (continued)
- 05/16: bootstrap: mescc-tools: Support ARM, update to 0.7.0., guix-commits, 2020/12/21
- 13/16: commencement: gzip-mesboot: Support ARM., guix-commits, 2020/12/21
- 16/16: DRAFT commencement: tcc-boot: Support ARM., guix-commits, 2020/12/21
- 10/16: DRAFT commencement: bootstrap-mes-rewired: Support ARM., guix-commits, 2020/12/21
- 07/16: DRAFT bootstrap: %bootstrap-mescc-tools: Support ARM., guix-commits, 2020/12/21
- 08/16: DRAFT bootstrap: %bootstrap-mes: Support ARM., guix-commits, 2020/12/21
- 06/16: DRAFT bootstrap: mes-minimal: Support ARM, update to mes-0.22.115., guix-commits, 2020/12/21
- 09/16: commencement: gash-boot: Build fix for ARM., guix-commits, 2020/12/21
- 12/16: DRAFT commencement: tcc-boot0: Support ARM, update to 0.9.26-1136-g423e7d22., guix-commits, 2020/12/21
- 14/16: commencement: make-mesboot0: Support ARM., guix-commits, 2020/12/21
- 11/16: DRAFT commencement: mes-boot: Support ARM.,
guix-commits <=
- 15/16: commencement: bzip2-mesboot: Support ARM., guix-commits, 2020/12/21