[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/gpg4win/scripts/debian-xcompile
From:       Andre Heinecke <aheinecke () intevation ! de>
Date:       2012-12-07 8:50:41
Message-ID: 20121207085041.671E7AC867 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1327606 by aheinecke:

Make parallel and be nice


 M  +14 -14    12-build-kdelibs.sh  


--- branches/work/gpg4win/scripts/debian-xcompile/12-build-kdelibs.sh #1327605:1327606
@@ -44,8 +44,8 @@
     run "Configuring kdewin32, 2nd try" xcmake \
         -DCMAKE_INSTALL_PREFIX="$STAGE1_BUILD/src/playground/install" "$SRCDIR/kdewin32"
 
-    run "Building kdewin32" make
-    run "Installing kdewin32" make install
+    run "Building kdewin32" $NICENESS make -j$MAKE_JOBS
+    run "Installing kdewin32" $NICENESS make install
 ) || exit 1
 fi
 
@@ -59,7 +59,7 @@
     run "Configuring kdewin32 for native compilation tools build" cmake \
         -DCMAKE_INSTALL_PREFIX="$TOOLSDIR" "$SRCDIR/kdewin32/tools"
 
-    run "Building kdewin32 native compilation tools" make
+    run "Building kdewin32 native compilation tools" $NICENESS make -j$MAKE_JOBS
     run "Installing kdewin32 native compilation tools" make install
 ) || exit 1
 
@@ -73,8 +73,8 @@
     run "Configuring automoc" cmake \
         -DCMAKE_INSTALL_PREFIX="$INST" "$SRCDIR/automoc"
 
-    run "Building automoc" make
-    run "Installing automoc" make install
+    run "Building automoc" $NICENESS make -j$MAKE_JOBS
+    run "Installing automoc" $NICENESS make install
 ) || exit 1
 
 # build kdelibs (cross)
@@ -89,8 +89,8 @@
         -DBoost_INCLUDE_DIR="$STAGE1_BUILD/src/playground/install/include/boost-1_34" \
         -DKDE4_ENABLE_HTMLHANDBOOK=ON "$SRCDIR/kdelibs"
 
-    run "Building kdelibs (win32)" make
-    run "Installing kdelibs (win32)" make install
+    run "Building kdelibs (win32)" $NICENESS make -j$MAKE_JOBS
+    run "Installing kdelibs (win32)" $NICENESS make install
 ) || exit 1
 
 # build kdelibs build tools (native)
@@ -104,8 +104,8 @@
         -DONLY_KLEO=ON \
         "$SRCDIR/kdelibs"
 
-    run "Building kdelibs native compilation tools" make
-    run "Installing kdelibs native compilation tools" make install
+    run "Building kdelibs native compilation tools" $NICENESS make -j$MAKE_JOBS
+    run "Installing kdelibs native compilation tools" $NICENESS make install
 ) || exit 1
 
 # build kdepimlibs (cross)
@@ -121,8 +121,8 @@
         -DKDE4_BUILD_TESTS=ON \
         -DKDE4_ENABLE_HTMLHANDBOOK=ON "$SRCDIR/kdepimlibs"
 
-    run "Building kdepimlibs (win32)" make
-    run "Installing kdepimlibs (win32)" make install
+    run "Building kdepimlibs (win32)" $NICENESS make -j$MAKE_JOBS
+    run "Installing kdepimlibs (win32)" $NICENESS make install
 ) || exit 1
 
 # build kdebase-runtime (cross)
@@ -137,8 +137,8 @@
         -DBoost_INCLUDE_DIR="$STAGE1_BUILD/src/playground/install/include/boost-1_34" \
         -DKDE4_ENABLE_HTMLHANDBOOK=ON "$SRCDIR/kdebase-runtime"
 
-    run "Building kdebase-runtime (win32)" make
-    run "Installing kdebase-runtime (win32)" make install
+    run "Building kdebase-runtime (win32)" $NICENESS make -j$MAKE_JOBS
+    run "Installing kdebase-runtime (win32)" $NICENESS make install
 ) || exit 1
 
 # build l10n-kde4
@@ -157,7 +157,7 @@
         -DONLY_KLEO=ON -DKDEWIN_DIR="$STAGE1_BUILD/src/playground/install" \
         -DKDE4_ENABLE_HTMLHANDBOOK=ON "$SRCDIR/l10n-kde4/$lang"
 
-    run "Building l10n-kde4/$lang" make -j$(($(num_cpus)*2))
+    run "Building l10n-kde4/$lang" make -j$MAKE_JOBS
     run "Installing l10n-kde4/$lang" make install
 ) || exit 1
 done
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic