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 f32b2da..c335798 100644 --- a/nongnu/packages/mozilla.scm +++ b/nongnu/packages/mozilla.scm | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | ;;; Copyright © 2021, 2022, 2023 John Kehayias <john.kehayias@protonmail.com> | 21 | ;;; Copyright © 2021, 2022, 2023 John Kehayias <john.kehayias@protonmail.com> |
| 22 | ;;; Copyright © 2022 Pierre Langlois <pierre.langlois@gmx.com> | 22 | ;;; Copyright © 2022 Pierre Langlois <pierre.langlois@gmx.com> |
| 23 | ;;; Copyright © 2023 Tomas Volf <wolf@wolfsden.cz> | 23 | ;;; Copyright © 2023 Tomas Volf <wolf@wolfsden.cz> |
| 24 | ;;; Copyright © 2025 Nicolas Graves <ngraves@ngraves.fr> | ||
| 24 | 25 | ||
| 25 | (define-module (nongnu packages mozilla) | 26 | (define-module (nongnu packages mozilla) |
| 26 | #:use-module (srfi srfi-26) | 27 | #:use-module (srfi srfi-26) |
| @@ -326,9 +327,9 @@ | |||
| 326 | (lambda* (#:key (make-flags '()) (parallel-build? #t) | 327 | (lambda* (#:key (make-flags '()) (parallel-build? #t) |
| 327 | #:allow-other-keys) | 328 | #:allow-other-keys) |
| 328 | (apply invoke "./mach" "build" | 329 | (apply invoke "./mach" "build" |
| 329 | ;; mach will use parallel build if possible by default | ||
| 330 | `(,@(if parallel-build? | 330 | `(,@(if parallel-build? |
| 331 | '() | 331 | `(,(string-append |
| 332 | "-j" (number->string (parallel-job-count)))) | ||
| 332 | '("-j1")) | 333 | '("-j1")) |
| 333 | ,@make-flags)))) | 334 | ,@make-flags)))) |
| 334 | (add-after 'build 'neutralise-store-references | 335 | (add-after 'build 'neutralise-store-references |
| @@ -432,10 +433,6 @@ | |||
| 432 | ;; Test will significantly increase build time but with little rewards. | 433 | ;; Test will significantly increase build time but with little rewards. |
| 433 | #:tests? #f | 434 | #:tests? #f |
| 434 | 435 | ||
| 435 | ;; WARNING: Parallel build will consume lots of memory! | ||
| 436 | ;; If you have encountered OOM issue in build phase, try disable it. | ||
| 437 | ;; #:parallel-build? #f | ||
| 438 | |||
| 439 | ;; Some dynamic lib was determined at runtime, so rpath check may fail. | 436 | ;; Some dynamic lib was determined at runtime, so rpath check may fail. |
| 440 | #:validate-runpath? #f)) | 437 | #:validate-runpath? #f)) |
| 441 | (inputs | 438 | (inputs |
