mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 20:27:36 -05:00
gnu: openblas: Fix building on armhf-linux.
* gnu/packages/maths.scm (openblas)[arguments]: Add make-flag to set target architecture.
This commit is contained in:
parent
f480f27c9c
commit
67ce43c0d3
1 changed files with 3 additions and 0 deletions
|
@ -3858,6 +3858,9 @@ (define-public openblas
|
||||||
;; On aarch64 force the generic 'armv8-a' target
|
;; On aarch64 force the generic 'armv8-a' target
|
||||||
((string-prefix? "aarch64" system)
|
((string-prefix? "aarch64" system)
|
||||||
'("TARGET=ARMV8"))
|
'("TARGET=ARMV8"))
|
||||||
|
;; Failed to detect CPU.
|
||||||
|
((string-prefix? "armhf" system)
|
||||||
|
'("TARGET=ARMV7"))
|
||||||
(else '()))))
|
(else '()))))
|
||||||
;; no configure script
|
;; no configure script
|
||||||
#:phases
|
#:phases
|
||||||
|
|
Loading…
Reference in a new issue