mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: icecat: honor parallel-job-count.
* gnu/packages/gnuzilla.scm (icecat-minimal)[arguments]: Pass the value of (parallel-job-count) to `mach` if a parallel build is requested. Change-Id: Idce40ec895bdfbaa284009f8a9ef2770bc05082c
This commit is contained in:
parent
a0d337e79c
commit
d2b118e23c
1 changed files with 6 additions and 4 deletions
|
@ -1057,10 +1057,12 @@ (define (runpaths-of-input label)
|
||||||
(lambda* (#:key (make-flags '()) (parallel-build? #t)
|
(lambda* (#:key (make-flags '()) (parallel-build? #t)
|
||||||
#:allow-other-keys)
|
#:allow-other-keys)
|
||||||
(apply invoke "./mach" "build"
|
(apply invoke "./mach" "build"
|
||||||
;; mach will use parallel build if possible by default
|
;; mach will use a wide parallel build if possible by
|
||||||
`(,@(if parallel-build?
|
;; default, so reign it in if requested.
|
||||||
'()
|
`(,(string-append
|
||||||
'("-j1"))
|
"-j" (number->string (if parallel-build?
|
||||||
|
(parallel-job-count)
|
||||||
|
1)))
|
||||||
,@make-flags))))
|
,@make-flags))))
|
||||||
(add-after 'build 'neutralise-store-references
|
(add-after 'build 'neutralise-store-references
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Loading…
Reference in a new issue