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.
This commit is contained in:
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

View file

@ -4573,15 +4573,8 @@ (define-public openblas
(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"