diff INSTALL @ 887:accda55ae053

Use make -j`nproc` everywhere instead of fixed number
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 08 Aug 2014 11:07:49 +0200
parents 7ea29b5183a3
children be3cb357b027
line wrap: on
line diff
--- a/INSTALL	Fri Aug 08 10:59:40 2014 +0200
+++ b/INSTALL	Fri Aug 08 11:07:49 2014 +0200
@@ -37,18 +37,18 @@
     -no-directfb -no-opengl -no-kms -no-eglfs -no-egl -no-openssl -no-glib \
     -system-libpng -qpa xcb -qt-xkbcommon -qt-xcb -no-nis -no-libjpeg -qt-libpng \
     -qt-zlib -no-gif && \
-    nice make -j8 && \
+    nice make -j`nproc` && \
     make install
 
     cd .. && \
     cd qttools/src/designer/src/uitools && \
     qmake && \
-    nice make -j8 && \
+    nice make -j`nproc` && \
     make install
 
     cd ../../../linguist && \
     qmake && \
-    nice make -j8 &&\
+    nice make -j`nproc` &&\
     make install
 
     curl -O https://polarssl.org/download/polarssl-1.3.8-gpl.tgz
@@ -99,7 +99,7 @@
     -system-libpng -qpa xcb -qt-xcb -no-nis -no-libjpeg -no-gif -qt-zlib \
     -no-fontconfig -qt-freetype -qt-libpng -qt-xkbcommon \
     && \
-    nice make -j8 && \
+    nice make -j`nproc` && \
     make install
 
 Switch back to the polarssl directory
@@ -109,7 +109,7 @@
     cmake .. -DCMAKE_C_FLAGS="-fpic -m32" -DCMAKE_INSTALL_PREFIX=$YOURPREFIX/i386 \
          -DCMAKE_VERBOSE_MAKEFILE=True \
          -DENABLE_TESTING=FALSE -DENABLE_PROGRAMS=FALSE && \
-    nice make -j8 && \
+    nice make -j`nproc` && \
     make install
 
 Now for Trustbridge itself

http://wald.intevation.org/projects/trustbridge/