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:
Eric Bavier 2023-10-23 21:50:39 -05:00
parent a0d337e79c
commit d2b118e23c
No known key found for this signature in database
GPG key ID: BC45CA67E2F8D007

View file

@ -1057,10 +1057,12 @@ (define (runpaths-of-input label)
(lambda* (#:key (make-flags '()) (parallel-build? #t)
#:allow-other-keys)
(apply invoke "./mach" "build"
;; mach will use parallel build if possible by default
`(,@(if parallel-build?
'()
'("-j1"))
;; mach will use a wide parallel build if possible by
;; default, so reign it in if requested.
`(,(string-append
"-j" (number->string (if parallel-build?
(parallel-job-count)
1)))
,@make-flags))))
(add-after 'build 'neutralise-store-references
(lambda _