mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: ungoogled-chromium: Enable parallel build.
...but limit the memory usage. Tested with --cores=8 on a 16 GiB RAM machine. * gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Remove <#:parallel-build?>. Add "jumbo_file_merge_limit=8" in <#:configure-flags>.
This commit is contained in:
parent
6fd4c6b267
commit
6a489839a8
1 changed files with 3 additions and 3 deletions
|
@ -408,9 +408,6 @@ (define-public ungoogled-chromium
|
|||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#: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
|
||||
;; we have to disable validation and add a wrapper below.
|
||||
#:validate-runpath? #f
|
||||
|
@ -467,6 +464,9 @@ (define-public ungoogled-chromium
|
|||
;; Optimize for building everything at once, as opposed to
|
||||
;; incrementally for development. See "docs/jumbo.md".
|
||||
"use_jumbo_build=true"
|
||||
;; The default file merge limit of 50 requires huge amounts of RAM.
|
||||
;; Cap it to make sure the build succeeds on commodity hardware.
|
||||
"jumbo_file_merge_limit=8"
|
||||
|
||||
;; Prefer system libraries.
|
||||
"use_system_freetype=true"
|
||||
|
|
Loading…
Reference in a new issue