GNU bug report logs -
#76175
[PATCH] gnu: librewolf: Honor --cores build argument.
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76175 in the body.
You can then email your comments to 76175 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#76175
; Package
guix-patches
.
(Mon, 10 Feb 2025 09:20:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nicolas Graves <ngraves <at> ngraves.fr>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 10 Feb 2025 09:20:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#76175
; Package
guix-patches
.
(Wed, 12 Feb 2025 12:41:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 76175 <at> debbugs.gnu.org (full text, mbox):
Hi,
Nicolas Graves <ngraves <at> ngraves.fr> writes:
> * 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
I'd drop the above comment too, which is no longer relevant.
> `(,@(if parallel-build?
> - '()
> - '("-j1")) ,@make-flags))))
> + `(,(string-append
> + "-j" (number->string (parallel-job-count))))
> + '("-j1"))
> + ,@make-flags))))
Otherwise, LGTM. Feel free to push! Oh wait, you don't have commit
access? If that's something you'd like to have, I encourage you to find
3 person to vouch for you and request it to guix-maintainers <at> gnu.org.
Reviewed-by: Maxim Cournoyer <maxim.cournoyer <at> gmail>
--
Thanks,
Maxim
Information forwarded
to
guix-patches <at> gnu.org
:
bug#76175
; Package
guix-patches
.
(Sat, 15 Feb 2025 00:05:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 76175 <at> debbugs.gnu.org (full text, mbox):
Hi Nicolas,
Pushed as 9b1fe3bd70.
Thank you!
-- Ian
bug closed, send any further explanations to
76175 <at> debbugs.gnu.org and Nicolas Graves <ngraves <at> ngraves.fr>
Request was from
Ian Eure <ian <at> retrospec.tv>
to
control <at> debbugs.gnu.org
.
(Sat, 15 Feb 2025 00:05:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 15 Mar 2025 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 91 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.