unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: ericbavier@centurylink.net
To: 33212@debbugs.gnu.org
Cc: Eric Bavier <bavier@member.fsf.org>
Subject: [bug#33212] [PATCH] libreoffice: honor '--cores=...' during build.
Date: Tue, 30 Oct 2018 20:42:10 -0500	[thread overview]
Message-ID: <20181031014210.1982-1-ericbavier@centurylink.net> (raw)

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(+)

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	other threads:[~2018-10-31  1:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-31  1:42 ericbavier [this message]
2018-11-02  2:13 ` [bug#33212] [PATCH] libreoffice: honor '--cores=...' during build Leo Famulari
2018-11-06  2:28   ` bug#33212: " Eric Bavier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181031014210.1982-1-ericbavier@centurylink.net \
    --to=ericbavier@centurylink.net \
    --cc=33212@debbugs.gnu.org \
    --cc=bavier@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).