[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: icecat: honor parallel-job-count.

From: guix-commits
Subject: branch master updated: gnu: icecat: honor parallel-job-count.
Date: Tue, 14 Nov 2023 00:13:02 -0500

This is an automated email from the git hooks/post-receive script.

bavier pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new d2b118e23c gnu: icecat: honor parallel-job-count.
d2b118e23c is described below

commit d2b118e23c32ea2711ceea4ef6c510ce12b1e5f5
Author: Eric Bavier <>
AuthorDate: Mon Oct 23 21:50:39 2023 -0500

    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
 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 9dfc61a7d7..6a93ab933e 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1057,10 +1057,12 @@ variable defined below.  It requires guile-json to be 
             (lambda* (#:key (make-flags '()) (parallel-build? #t)
               (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)))
           (add-after 'build 'neutralise-store-references
             (lambda _

reply via email to

[Prev in Thread] Current Thread [Next in Thread]