me
/
guix
Archived
1
0
Fork 0

gnu: openblas: Update architectures we provide substitutes for.

* gnu/packages/maths.scm (openblas)[arguments]: Adjust the substitutable?
flag to only not provide substitutes when building for powerpc-linux.
Adjust the comment accordingly.
master
Efraim Flashner 2023-06-01 11:06:00 +03:00
parent 872e1434f1
commit 076688fa1e
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 9 deletions

View File

@ -4573,15 +4573,8 @@ parts of it.")
(arguments
(list
#:test-target "test"
;; DYNAMIC_ARCH is only supported on x86. When it is disabled and no
;; TARGET is specified, OpenBLAS will tune itself to the build host, so
;; we need to disable substitutions.
#:substitutable?
(let ((system (or (%current-target-system) (%current-system))))
(or (string-prefix? "x86_64" system)
(string-prefix? "i686" system)
(string-prefix? "mips" system)
(string-prefix? "aarch64" system)))
;; No default baseline is supplied for powerpc-linux.
#:substitutable? (not (target-ppc32?))
#:make-flags
#~(list (string-append "PREFIX=" #$output)
"SHELL=bash"