gnu: openblas: Honor parallel-job-count.

* gnu/packages/maths.scm (openblas)[arguments]: Add "MAKE_NB_JOBS" make flag.
This commit is contained in:
Eric Bavier 2019-02-21 21:01:26 -06:00
parent b8f9e97da8
commit 5855756c81
No known key found for this signature in database
GPG Key ID: FD73CAC719D32566
1 changed files with 1 additions and 0 deletions

View File

@ -2956,6 +2956,7 @@ parts of it.")
#:make-flags #:make-flags
(list (string-append "PREFIX=" (assoc-ref %outputs "out")) (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
"SHELL=bash" "SHELL=bash"
"MAKE_NB_JOBS=0" ;use jobserver for submakes
;; Build the library for all supported CPUs. This allows ;; Build the library for all supported CPUs. This allows
;; switching CPU targets at runtime with the environment variable ;; switching CPU targets at runtime with the environment variable
;; OPENBLAS_CORETYPE=<type>, where "type" is a supported CPU type. ;; OPENBLAS_CORETYPE=<type>, where "type" is a supported CPU type.