[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66720] [PATCH] gnu: icecat: honor parallel-job-count.
From: |
Eric Bavier |
Subject: |
[bug#66720] [PATCH] gnu: icecat: honor parallel-job-count. |
Date: |
Tue, 24 Oct 2023 03:26:08 +0000 |
* 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
---
gnu/packages/gnuzilla.scm | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 1817dd44d1..a22592538c 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1057,10 +1057,12 @@ (define-public icecat-minimal
(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 _
base-commit: cbd20d627497053871db863970c07d93c7081786
--
2.41.0
- [bug#66720] [PATCH] gnu: icecat: honor parallel-job-count.,
Eric Bavier <=