aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2018-10-30 20:36:08 -0500
committerEric Bavier <bavier@member.fsf.org>2018-11-04 21:56:39 -0600
commitcddc044ce73ec6ec44279fabb629d6910e980e86 (patch)
tree84a384317a2704c1d05d836dfadda7aaa48f5a9f /gnu/packages
parent64eb038eef41dc7c1f912dc7097aa53e8b5d8b7c (diff)
downloadguix-cddc044ce73ec6ec44279fabb629d6910e980e86.tar.gz
guix-cddc044ce73ec6ec44279fabb629d6910e980e86.zip
libreoffice: honor '--cores=...' during build.
* gnu/packages/libreoffice.scm (libreoffice)[configure-flags]: Add '--with-parallelism' flag.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/libreoffice.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/libreoffice.scm b/gnu/packages/libreoffice.scm
index b6ff6dc528..bb72f69f40 100644
--- a/gnu/packages/libreoffice.scm
+++ b/gnu/packages/libreoffice.scm
@@ -1096,6 +1096,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="