GNU bug report logs - #76175
[PATCH] gnu: librewolf: Honor --cores build argument.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Mon, 10 Feb 2025 09:20:02 UTC

Severity: normal

Tags: patch

Done: Ian Eure <ian <at> retrospec.tv>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76175 <at> debbugs.gnu.org
Subject: [bug#76175] [PATCH] gnu: librewolf: Honor --cores build argument.
Date: Mon, 10 Feb 2025 10:16:39 +0100
* gnu/packages/librewolf.scm (librewolf)[arguments]<#:phases>:
Honor --cores build argument during the 'build phase.
---
 gnu/packages/librewolf.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm
index 28abaefe53..d093fd095f 100644
--- a/gnu/packages/librewolf.scm
+++ b/gnu/packages/librewolf.scm
@@ -470,8 +470,10 @@ (define write-flags
                        (apply invoke "./mach" "build"
                               ;; mach will use parallel build if possible by default
                               `(,@(if parallel-build?
-                                      '()
-                                      '("-j1")) ,@make-flags))))
+                                      `(,(string-append
+                                          "-j" (number->string (parallel-job-count))))
+                                      '("-j1"))
+                                ,@make-flags))))
                    (add-after 'build 'neutralise-store-references
                      (lambda _
                        ;; Mangle the store references to compilers &
-- 
2.48.1



-- 
Best regards,
Nicolas Graves




This bug report was last modified 92 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.