mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
python: Honor '--cores=...' in tests.
* gnu/packages/python.scm (python-2.7)[arguments]: Add #:make-flags.
This commit is contained in:
parent
421ec86532
commit
5b01b6034a
1 changed files with 3 additions and 0 deletions
|
@ -190,6 +190,9 @@ (define-public python-2.7
|
|||
"--enable-unicode=ucs4"
|
||||
(string-append "LDFLAGS=-Wl,-rpath="
|
||||
(assoc-ref %outputs "out") "/lib"))
|
||||
;; With no -j argument tests use all available cpus, so provide one.
|
||||
#:make-flags
|
||||
(list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
|
||||
|
||||
#:modules ((ice-9 ftw) (ice-9 match)
|
||||
(guix build utils) (guix build gnu-build-system))
|
||||
|
|
Loading…
Reference in a new issue