mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
gnu: openblas: Add support for aarch64.
* gnu/packages/maths.scm (openblas)[arguments]: Mark aarch64 as substitutable, build for target ARMv8.
This commit is contained in:
parent
8e4b7b7514
commit
83a3464793
1 changed files with 6 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
||||||
;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
||||||
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2015 Fabian Harfert <fhmgufs@web.de>
|
;;; Copyright © 2015 Fabian Harfert <fhmgufs@web.de>
|
||||||
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
|
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
|
||||||
;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
|
;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
|
||||||
|
@ -2243,7 +2243,8 @@ (define-public openblas
|
||||||
,(let ((system (or (%current-target-system) (%current-system))))
|
,(let ((system (or (%current-target-system) (%current-system))))
|
||||||
(or (string-prefix? "x86_64" system)
|
(or (string-prefix? "x86_64" system)
|
||||||
(string-prefix? "i686" system)
|
(string-prefix? "i686" system)
|
||||||
(string-prefix? "mips" system)))
|
(string-prefix? "mips" system)
|
||||||
|
(string-prefix? "aarch64" system)))
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
"SHELL=bash"
|
"SHELL=bash"
|
||||||
|
@ -2263,6 +2264,9 @@ (define-public openblas
|
||||||
;; for Loongson cores are used.
|
;; for Loongson cores are used.
|
||||||
((string-prefix? "mips" system)
|
((string-prefix? "mips" system)
|
||||||
'("TARGET=SICORTEX"))
|
'("TARGET=SICORTEX"))
|
||||||
|
;; On aarch64 force the generic 'armv8-a' target
|
||||||
|
((string-prefix? "aarch64" system)
|
||||||
|
'("TARGET=ARMV8"))
|
||||||
(else '()))))
|
(else '()))))
|
||||||
;; no configure script
|
;; no configure script
|
||||||
#:phases (alist-delete 'configure %standard-phases)))
|
#:phases (alist-delete 'configure %standard-phases)))
|
||||||
|
|
Loading…
Reference in a new issue