libreoffice: honor '--cores=...' during build.

* gnu/packages/libreoffice.scm (libreoffice)[configure-flags]: Add
'--with-parallelism' flag.
This commit is contained in:
Eric Bavier 2018-10-30 20:36:08 -05:00
parent 64eb038eef
commit cddc044ce7
No known key found for this signature in database
GPG Key ID: FD73CAC719D32566
1 changed files with 2 additions and 0 deletions

View File

@ -1096,6 +1096,8 @@ converting QuarkXPress file format. It supports versions 3.1 to 4.1.")
(list (list
"--enable-release-build" "--enable-release-build"
"--enable-verbose" "--enable-verbose"
;; Avoid using all cpu cores by default
(format #f "--with-parallelism=~d" (parallel-job-count))
"--disable-fetch-external" ; disable downloads "--disable-fetch-external" ; disable downloads
"--with-system-libs" ; enable all --with-system-* flags "--with-system-libs" ; enable all --with-system-* flags
(string-append "--with-boost-libdir=" (string-append "--with-boost-libdir="