guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: address@hidden: Add support for aarch64-linux.


From: Efraim Flashner
Subject: 01/01: gnu: address@hidden: Add support for aarch64-linux.
Date: Mon, 15 Oct 2018 07:21:28 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 2ab321ca37d1c00c1540d78d587226d3d487b2d4
Author: Efraim Flashner <address@hidden>
Date:   Mon Oct 15 13:51:41 2018 +0300

    gnu: address@hidden: Add support for aarch64-linux.
    
    * gnu/packages/golang.scm (address@hidden)[arguments]: Build for armhf-linux
    when building for aarch64-linux.
    [supported-systems]: Add aarch64-linux.
---
 gnu/packages/golang.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 7f26fbd..f140574 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016, 2017 Efraim Flashner <address@hidden>
+;;; Copyright © 2016, 2017, 2018 Efraim Flashner <address@hidden>
 ;;; Copyright © 2016 Matthew Jordan <address@hidden>
 ;;; Copyright © 2016 Andy Wingo <address@hidden>
 ;;; Copyright © 2016 Ludovic Courtès <address@hidden>
@@ -77,6 +77,10 @@
                   (guix build utils)
                   (srfi srfi-1))
        #:tests? #f ; Tests are run by the all.bash script.
+       ,@(if (string-prefix? "aarch64-linux" (or (%current-system)
+                                                 (%current-target-system)))
+             '(#:system "armhf-linux")
+             '())
        #:phases
        (modify-phases %standard-phases
          (delete 'configure)
@@ -213,7 +217,7 @@ programming language designed primarily for systems 
programming.  Go is a
 compiled, statically typed language in the tradition of C and C++, but adds
 garbage collection, various safety features, and concurrent programming 
features
 in the style of communicating sequential processes (@dfn{CSP}).")
-    (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux"))
+    (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux" 
"aarch64-linux"))
     (license license:bsd-3)))
 
 (define-public go-1.9



reply via email to

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