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

Message ID 20181031014210.1982-1-ericbavier@centurylink.net
State Accepted
Commit cddc044ce73ec6ec44279fabb629d6910e980e86
Headers show
Series [bug#33212] libreoffice: honor '--cores=...' during build. | expand

Commit Message

Eric Bavier Oct. 31, 2018, 1:42 a.m. UTC
From: Eric Bavier <bavier@member.fsf.org>

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

Comments

Leo Famulari Nov. 2, 2018, 2:13 a.m. UTC | #1
On Tue, Oct 30, 2018 at 08:42:10PM -0500, ericbavier@centurylink.net wrote:
> From: Eric Bavier <bavier@member.fsf.org>
> 
> * gnu/packages/libreoffice.scm (libreoffice)[configure-flags]: Add
> '--with-parallelism' flag.

Thanks, LGTM!
Eric Bavier Nov. 6, 2018, 2:28 a.m. UTC | #2
On Thu, 1 Nov 2018 22:13:16 -0400
Leo Famulari <leo@famulari.name> wrote:

> On Tue, Oct 30, 2018 at 08:42:10PM -0500, ericbavier@centurylink.net wrote:
> > From: Eric Bavier <bavier@member.fsf.org>
> > 
> > * gnu/packages/libreoffice.scm (libreoffice)[configure-flags]: Add
> > '--with-parallelism' flag.  
> 
> Thanks, LGTM!

Great, pushed in cddc044ce73ec6ec44279fabb629d6910e980e86

`~Eric

Patch

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="