guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 07/26: DRAFT bootstrap: %bootstrap-mescc-tools: Support ARM.
Date: Tue, 12 Jan 2021 13:49:11 -0500 (EST)

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

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

    DRAFT bootstrap: %bootstrap-mescc-tools: Support ARM.
    
    XXX TODO:
      * rebase onto core-updates
      * rebuild
    
    Built with
        7f847ea20b90c2fb8dc3b5eb51e6c007a8c5461a
        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]