Skip to content
Snippets Groups Projects
Commit af5b817e authored by Ricardo Wurmus's avatar Ricardo Wurmus
Browse files

gnu: openblas: build for all supported CPUs.

* gnu/packages/maths.scm (openblas)[arguments]: Add "DYNAMIC_ARCH=1" to
  make flags.  Remove "#:substitutable? #f".
parent e4160d05
No related branches found
No related tags found
No related merge requests found
......@@ -1033,11 +1033,14 @@ (define-public openblas
(build-system gnu-build-system)
(arguments
'(#:tests? #f ;no "check" target
#:substitutable? #f ;force local build because of CPU detection
#:make-flags
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
"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
#:phases (alist-delete 'configure %standard-phases)))
(inputs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment