mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2025-10-02 02:14:59 +00:00
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>
This commit is contained in:
parent
3d164c8718
commit
6dd01257cf
1 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue