From: Eric Bavier <bavier@posteo.net>
To: 66720@debbugs.gnu.org
Cc: Eric Bavier <bavier@posteo.net>,
Jonathan Brielmaier <jonathan.brielmaier@web.de>
Subject: [bug#66720] [PATCH] gnu: icecat: honor parallel-job-count.
Date: Tue, 24 Oct 2023 03:26:08 +0000 [thread overview]
Message-ID: <64b0fef1896198626ba2248438c3253fabe4e075.1698117931.git.bavier@posteo.net> (raw)
* 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
next reply other threads:[~2023-10-24 3:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-24 3:26 Eric Bavier [this message]
2023-10-25 19:12 ` [bug#66720] [PATCH] gnu: icecat: honor parallel-job-count Clément Lassieur
2023-10-26 4:23 ` Eric Bavier
2023-10-29 16:21 ` Clément Lassieur
2023-11-04 0:17 ` Clément Lassieur
2023-11-14 5:15 ` bug#66720: " Eric Bavier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=64b0fef1896198626ba2248438c3253fabe4e075.1698117931.git.bavier@posteo.net \
--to=bavier@posteo.net \
--cc=66720@debbugs.gnu.org \
--cc=jonathan.brielmaier@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).