From d829d8a38e511f520e45666b4ce83f04432d2c1f Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Fri, 16 Jan 2015 10:58:19 -0500 Subject: [PATCH] Add parallel make support via with nproc --- userspace-rcu/liburcu-master.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/userspace-rcu/liburcu-master.sh b/userspace-rcu/liburcu-master.sh index 41da104..3315d18 100755 --- a/userspace-rcu/liburcu-master.sh +++ b/userspace-rcu/liburcu-master.sh @@ -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 -- 2.34.1