guix-patches
[Top][All Lists]
Advanced

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

[bug#33212] [PATCH] libreoffice: honor '--cores=...' during build.


From: ericbavier
Subject: [bug#33212] [PATCH] libreoffice: honor '--cores=...' during build.
Date: Tue, 30 Oct 2018 20:42:10 -0500

From: Eric Bavier <address@hidden>

* gnu/packages/libreoffice.scm (libreoffice)[configure-flags]: Add
'--with-parallelism' flag.
---
 gnu/packages/libreoffice.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index e5ab5c507..ad8ff24f2 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -1093,6 +1093,8 @@ converting QuarkXPress file format.  It supports versions 
3.1 to 4.1.")
         (list
           "--enable-release-build"
           "--enable-verbose"
+          ;; Avoid using all cpu cores by default
+          (format #f "--with-parallelism=~d" (parallel-job-count))
           "--disable-fetch-external" ; disable downloads
           "--with-system-libs" ; enable all --with-system-* flags
           (string-append "--with-boost-libdir="
-- 
2.19.1






reply via email to

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