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

Previous Next

Package: guix-patches;

Reported by: ericbavier <at> centurylink.net

Date: Wed, 31 Oct 2018 01:43:02 UTC

Severity: normal

Tags: patch

Done: Eric Bavier <ericbavier <at> centurylink.net>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ericbavier <at> centurylink.net
To: guix-patches <at> gnu.org
Cc: Eric Bavier <bavier <at> member.fsf.org>
Subject: [PATCH] libreoffice: honor '--cores=...' during build.
Date: Tue, 30 Oct 2018 20:42:10 -0500
From: Eric Bavier <bavier <at> member.fsf.org>

* 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





This bug report was last modified 6 years and 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.