guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/22: DRAFT bootstrap: %bootstrap-mescc-tools: Support ARM.


From: guix-commits
Subject: 07/22: DRAFT bootstrap: %bootstrap-mescc-tools: Support ARM.
Date: Wed, 23 Dec 2020 17:49:30 -0500 (EST)

janneke pushed a commit to branch wip-arm-bootstrap
in repository guix.

commit 9c503662b0c63aa586f06a59037e319257b1ef10
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Dec 15 11:30:26 2020 +0100

    DRAFT bootstrap: %bootstrap-mescc-tools: Support ARM.
    
    Built with
        2372945fe8a55eaf9bbe8ad9c8690d1599516f78
        DRAFT bootstrap: mes-minimal: Support ARM, update to mes-0.22.115.
    
    * gnu/packages/bootstrap.scm (%bootstrap-mescc-tools)[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 c39e60e..656c8a1 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -786,17 +786,25 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
           (origin
             (method url-fetch)
             (uri (map
-                  (cute string-append <>
-                        "/i686-linux/20190815/"
-                        "mescc-tools-static-stripped-0.5.2-i686-linux.tar.xz")
+                  (cut string-append <> (%current-system) "/"
+                       (match (%current-system)
+                         ((or "armhf-linux" "aarch64-linux")
+                          
"20201219/mescc-tools-static-stripped-0.7.0-armhf-linux.tar.xz")
+                         ((or "i686-linux" "x86_64-linux")
+                          
"20190815/mescc-tools-static-stripped-0.5.2-i686-linux.tar.xz")))
                   %bootstrap-base-urls))
             (sha256
              (base32
-              "0c3kklgghzh4q2dbpl6asb74cimp7hp6jscdwqwmzxbapgcl6582")))))))
+              (match (%current-system)
+                ((or "armhf-linux" "aarch64-linux")
+                 "0yzg93r0x18f7v264pxh7gjcav68aiw1irz1mqmfh5hphbhfk5nv")
+                ((or "i686-linux" "x86_64-linux")
+                 
"0c3kklgghzh4q2dbpl6asb74cimp7hp6jscdwqwmzxbapgcl6582")))))))))
     (synopsis "Bootstrap binaries of MesCC Tools")
     (description synopsis)
     (home-page #f)
-    (supported-systems '("i686-linux" "x86_64-linux"))
+    (supported-systems '("armhf-linux" "aarch64-linux"
+                         "i686-linux" "x86_64-linux"))
     (license gpl3+)))
 
 (define %bootstrap-mes



reply via email to

[Prev in Thread] Current Thread [Next in Thread]