gnu: openblas: Make substitutable on MIPS.
* gnu/packages/maths.scm (openblas)[arguments]: Make package substitutable when the system is MIPS.
This commit is contained in:
parent
8a637e79ed
commit
bd0b4379b2
|
@ -1474,13 +1474,14 @@ constant parts of it.")
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;no "check" target
|
`(#:tests? #f ;no "check" target
|
||||||
;; DYNAMIC_ARCH is only supported on x86. When it is disabled,
|
;; DYNAMIC_ARCH is only supported on x86. When it is disabled and no
|
||||||
;; OpenBLAS will tune itself to the build host, so we need to disable
|
;; TARGET is specified, OpenBLAS will tune itself to the build host, so
|
||||||
;; substitutions.
|
;; we need to disable substitutions.
|
||||||
#:substitutable?
|
#:substitutable?
|
||||||
,(let ((system (or (%current-target-system) (%current-system))))
|
,(let ((system (or (%current-target-system) (%current-system))))
|
||||||
(or (string-prefix? "x86_64" system)
|
(or (string-prefix? "x86_64" system)
|
||||||
(string-prefix? "i686" system)))
|
(string-prefix? "i686" system)
|
||||||
|
(string-prefix? "mips" system)))
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
"SHELL=bash"
|
"SHELL=bash"
|
||||||
|
|
Loading…
Reference in New Issue