From 7a68b5d3134f60377c9f2b47e916d13f9eb69e8e Mon Sep 17 00:00:00 2001 From: Christoph Willing Date: Thu, 27 Apr 2017 21:30:28 +1000 Subject: office/LibreOffice: Added control over make parallelism Signed-off-by: Christoph Willing --- office/LibreOffice/README | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'office/LibreOffice/README') diff --git a/office/LibreOffice/README b/office/LibreOffice/README index 45aca1dcf6d6d..0e1df33c6782c 100644 --- a/office/LibreOffice/README +++ b/office/LibreOffice/README @@ -40,6 +40,17 @@ Build time environment variables that may set to vary features are as follows: apache-ant package is needed to build LibreOffice. Finally, setting JAVA=no will build LibreOffice without any Java support. +6. The number of parallel make jobs used by the LibreOffice build system defaults + to the number of available cpu cores. If the MAKEFLAGS environment variable + contains the -j option e.g. + MAKEFLAGS=-j6 + then the SlackBuild will pass this to the LibreOffice build system + (via its --with-parallelism configure option). The number of parallel make jobs + is further controlled with the PARALLEL environment varaiable e.g. + PARALLEL=1 sh LibreOffice.SlackBuild + which would limit building to a single make process, overriding any value set + with the -j option in MAKEFLAGS. + For performance reasons, this Slackbuild sets GTK2 to be used at runtime. Alternatives (gen, gtk3, kde4) may still be used by setting SAL_USE_VCLPLUGIN in the user environment. -- cgit v1.2.3