guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/09: gnu: ungoogled-chromium: Enable parallel build.


From: guix-commits
Subject: 01/09: gnu: ungoogled-chromium: Enable parallel build.
Date: Mon, 22 Jul 2019 10:25:17 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 6a489839a8852dc3428c53b0d35ead32e06dc1ac
Author: Marius Bakke <address@hidden>
Date:   Sun Jul 21 23:32:04 2019 +0200

    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>.
---
 gnu/packages/chromium.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/chromium.scm b/gnu/packages/chromium.scm
index 90ce787..d072fc5 100644
--- a/gnu/packages/chromium.scm
+++ b/gnu/packages/chromium.scm
@@ -408,9 +408,6 @@ from forcing GEXP-PROMISE."
     (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 @@ from forcing GEXP-PROMISE."
              ;; 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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]