gnu: go@1.4: Add support for aarch64-linux.
* gnu/packages/golang.scm (go@1.4)[arguments]: Build for armhf-linux when building for aarch64-linux. [supported-systems]: Add aarch64-linux.
This commit is contained in:
		
							parent
							
								
									2c89b4b550
								
							
						
					
					
						commit
						2ab321ca37
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
 | 
					;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
 | 
				
			||||||
;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
 | 
					;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
 | 
				
			||||||
;;; Copyright © 2016 Andy Wingo <wingo@igalia.com>
 | 
					;;; Copyright © 2016 Andy Wingo <wingo@igalia.com>
 | 
				
			||||||
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
| 
						 | 
					@ -77,6 +77,10 @@
 | 
				
			||||||
                  (guix build utils)
 | 
					                  (guix build utils)
 | 
				
			||||||
                  (srfi srfi-1))
 | 
					                  (srfi srfi-1))
 | 
				
			||||||
       #:tests? #f ; Tests are run by the all.bash script.
 | 
					       #: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
 | 
					       #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (delete 'configure)
 | 
					         (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
 | 
					compiled, statically typed language in the tradition of C and C++, but adds
 | 
				
			||||||
garbage collection, various safety features, and concurrent programming features
 | 
					garbage collection, various safety features, and concurrent programming features
 | 
				
			||||||
in the style of communicating sequential processes (@dfn{CSP}).")
 | 
					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)))
 | 
					    (license license:bsd-3)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public go-1.9
 | 
					(define-public go-1.9
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue