mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: openblas: build for all supported CPUs.
* gnu/packages/maths.scm (openblas)[arguments]: Add "DYNAMIC_ARCH=1" to make flags. Remove "#:substitutable? #f".
This commit is contained in:
parent
e4160d0585
commit
af5b817ea9
1 changed files with 5 additions and 2 deletions
|
@ -1033,11 +1033,14 @@ (define-public openblas
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ;no "check" target
|
'(#:tests? #f ;no "check" target
|
||||||
#:substitutable? #f ;force local build because of CPU detection
|
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
"SHELL=bash"
|
"SHELL=bash"
|
||||||
"NO_LAPACK=1")
|
"NO_LAPACK=1"
|
||||||
|
;; Build the library for all supported CPUs. This allows
|
||||||
|
;; switching CPU targets at runtime with the environment variable
|
||||||
|
;; OPENBLAS_CORETYPE=<type>, where "type" is a supported CPU type.
|
||||||
|
"DYNAMIC_ARCH=1")
|
||||||
;; no configure script
|
;; no configure script
|
||||||
#:phases (alist-delete 'configure %standard-phases)))
|
#:phases (alist-delete 'configure %standard-phases)))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Loading…
Reference in a new issue