janneke pushed a commit to branch wip-arm-bootstrap
in repository guix.
commit 9a8537a1a71a4a33793608d125b0aa9aa32c8b87
Author: Jan (janneke) Nieuwenhuizen <[email protected]>
AuthorDate: Tue Dec 15 11:34:45 2020 +0100
DRAFT bootstrap: %bootstrap-mes: Support ARM.
XXX TODO: Rebase onto core-updates, release GNU Mes 0.23, rebuild.
Built with
7f847ea20b90c2fb8dc3b5eb51e6c007a8c5461a
DRAFT bootstrap: mes-minimal: Support ARM, update to mes-0.22.115.
* gnu/packages/bootstrap.scm (%bootstrap-mes)[inputs]: Add tarball for
armhf-linux.
[supported-systems]: Add armhf-linux, aarch64-linux.
---
gnu/packages/bootstrap.scm | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index 656c8a1..9b1a286 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -843,14 +843,22 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
(origin
(method url-fetch)
(uri (map
- (cute string-append <>
- "/i686-linux/20190815/"
- "mes-minimal-stripped-0.19-i686-linux.tar.xz")
+ (cute string-append <> (%current-system) "/"
+ (match (%current-system)
+ ((or "armhf-linux" "aarch64-linux")
+
"20201217/mes-minimal-stripped-0.22-115-gdacaed9fe-armhf-linux.tar.xz")
+ ((or "i686-linux" "x86_64-linux")
+
"20190815/mes-minimal-stripped-0.19-i686-linux.tar.xz")))
%bootstrap-base-urls))
(sha256
(base32
- "1q4xjpx6nbn44kxnilpgl12bhpmwy2bblzwszc2ci7xkf400jcpv")))))))
- (supported-systems '("i686-linux" "x86_64-linux"))
+ (match (%current-system)
+ ((or "armhf-linux" "aarch64-linux")
+ "0daz658r9psmqxjkayvr8ymql6h4gf11gwdd4k3mdv7czc5ak399")
+ ((or "i686-linux" "x86_64-linux")
+
"1q4xjpx6nbn44kxnilpgl12bhpmwy2bblzwszc2ci7xkf400jcpv")))))))))
+ (supported-systems '("armhf-linux" "aarch64-linux"
+ "i686-linux" "x86_64-linux"))
(synopsis "Bootstrap binaries of Mes")
(description synopsis)
(home-page #f)