Add parallel make support via with nproc
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 16 Jan 2015 15:58:19 +0000 (10:58 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 16 Jan 2015 15:58:19 +0000 (10:58 -0500)
userspace-rcu/liburcu-master.sh

index 41da104aa1b25d5b384cd02eaf55922f6a839d57..3315d18cc1560ad8d80e72ea480e1a785d81a642 100755 (executable)
@@ -3,6 +3,7 @@ rm -rf $WORKSPACE/build
 mkdir -p $WORKSPACE/build
 
 PREFIX="$WORKSPACE/build"
+NPROC=$((`nproc` + 1))
 
 ./bootstrap
 
@@ -25,7 +26,7 @@ esac
 
 ./configure --prefix=$PREFIX $CONF_OPTS
 
-make
+make -j $NPROC
 make install
 make clean
 
This page took 0.024521 seconds and 4 git commands to generate.