diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-02-10 11:32:49 +0100 |
---|---|---|
committer | Jonathan Brielmaier <jonathan.brielmaier@web.de> | 2025-02-24 21:34:27 +0100 |
commit | 6dd01257cfeb88c8317a54cdf94db38de5a91b3a (patch) | |
tree | 8dc225ecd521bc4f8013cc5e4477416bb953c1cb | |
parent | 3d164c87184f29fe42d98a2e0e668b589be0e8ff (diff) |
nongnu: firefox: Honor --cores build argument.
* nongnu/packages/mozilla.scm (firefox)[arguments]{phases}: Honor
--cores build argument in 'build phase. Also removing comments that
are outdated by this change.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
-rw-r--r-- | nongnu/packages/mozilla.scm | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/nongnu/packages/mozilla.scm b/nongnu/packages/mozilla.scm index f32b2da3..c3357980 100644 --- a/nongnu/packages/mozilla.scm +++ b/nongnu/packages/mozilla.scm @@ -21,6 +21,7 @@ ;;; Copyright © 2021, 2022, 2023 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2022 Pierre Langlois <pierre.langlois@gmx.com> ;;; Copyright © 2023 Tomas Volf <wolf@wolfsden.cz> +;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> (define-module (nongnu packages mozilla) #:use-module (srfi srfi-26) @@ -326,9 +327,9 @@ (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? - '() + `(,(string-append + "-j" (number->string (parallel-job-count)))) '("-j1")) ,@make-flags)))) (add-after 'build 'neutralise-store-references @@ -432,10 +433,6 @@ ;; Test will significantly increase build time but with little rewards. #:tests? #f - ;; WARNING: Parallel build will consume lots of memory! - ;; If you have encountered OOM issue in build phase, try disable it. - ;; #:parallel-build? #f - ;; Some dynamic lib was determined at runtime, so rpath check may fail. #:validate-runpath? #f)) (inputs |