From: Jonathan Rajotte Date: Fri, 10 Jul 2015 13:54:19 +0000 (-0400) Subject: use -j NPROC on module build X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=469a8356d9fc83d3f1147e25abd31ea61b7c383b;p=lttng-ci.git use -j NPROC on module build --- diff --git a/lttng-modules/lttng-modules-dsl-master.sh b/lttng-modules/lttng-modules-dsl-master.sh index 81e37f5..4e9416b 100644 --- a/lttng-modules/lttng-modules-dsl-master.sh +++ b/lttng-modules/lttng-modules-dsl-master.sh @@ -1,5 +1,7 @@ # Recreate link to kernel source +NPROC=`nproc` + rm -rf /tmp/linux-source rm -rf /tmp/linux-artifact @@ -8,7 +10,7 @@ ln -s $WORKSPACE/linux-artifact /tmp/linux-artifact ln -s /tmp/linux-source /tmp/linux-artifact/source cd lttng-modules -make KERNELDIR=/tmp/linux-artifact +make -j $NPROC KERNELDIR=/tmp/linux-artifact #make INSTALL_MOD_PATH="$PREFIX" modules_install rm -rf /tmp/linux-source rm -rf /tmp/linux-artifact