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:
Efraim Flashner 2021-07-06 15:52:49 +03:00
parent f480f27c9c
commit 67ce43c0d3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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