From 8bf116f56df1ff026c23441779989b00c05409eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 3 Jan 2017 20:50:26 +0000 Subject: [PATCH] set with-parallelism better double it for the moment, can reset it to normal later --- libreoffice.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libreoffice.spec b/libreoffice.spec index fc4a6d1..ca6c4f1 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1058,13 +1058,17 @@ export MDDS_LIBS=' ' aclocal -I m4 autoconf +SMP_MFLAGS=%{?_smp_mflags} +SMP_MFLAGS=$[${SMP_MFLAGS/-j/}] +SMP_MFLAGS=$((SMP_MFLAGS*2)) + # TODO: enable coinmp? # avoid running autogen.sh on make touch autogen.lastrun %configure \ %vendoroption \ %{?with_lang} \ - --with-parallelism=1 \ + --with-parallelism=$SMP_MFLAGS \ --disable-coinmp \ --disable-fetch-external \ --disable-firebird-sdbc \ @@ -1092,7 +1096,7 @@ touch autogen.lastrun %{?archoptions} ulimit -c unlimited -make verbose=true -j1 build-nocheck +make verbose=true build-nocheck #generate the icons and mime type stuff export DESTDIR=../output