gnu: ungoogled-chromium: Disable parallel build.
* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Set #:parallel-build? #f. Adjust 'build' phase to account for it.master
parent
0605d939a9
commit
9a2e5fe5fd
|
@ -404,6 +404,9 @@ from forcing GEXP-PROMISE."
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f
|
`(#:tests? #f
|
||||||
|
;; Chromiums build processes may consume up to 8GiB of memory per core.
|
||||||
|
;; Disable parallel builds to avoid thrashing end user systems.
|
||||||
|
#:parallel-build? #f
|
||||||
;; FIXME: Chromiums RUNPATH lacks entries for some libraries, so
|
;; FIXME: Chromiums RUNPATH lacks entries for some libraries, so
|
||||||
;; we have to disable validation and add a wrapper below.
|
;; we have to disable validation and add a wrapper below.
|
||||||
#:validate-runpath? #f
|
#:validate-runpath? #f
|
||||||
|
@ -605,9 +608,11 @@ from forcing GEXP-PROMISE."
|
||||||
(format #t "Dumping configure flags...\n")
|
(format #t "Dumping configure flags...\n")
|
||||||
(invoke "gn" "args" "out/Release" "--list"))))
|
(invoke "gn" "args" "out/Release" "--list"))))
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key (parallel-build? #t) #:allow-other-keys)
|
||||||
(invoke "ninja" "-C" "out/Release"
|
(invoke "ninja" "-C" "out/Release"
|
||||||
"-j" (number->string (parallel-job-count))
|
"-j" (if parallel-build?
|
||||||
|
(number->string (parallel-job-count))
|
||||||
|
"1")
|
||||||
"chrome"
|
"chrome"
|
||||||
"chromedriver")))
|
"chromedriver")))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
|
|
Loading…
Reference in New Issue