From: Ilya Dryomov Date: Mon, 14 Nov 2016 10:35:41 +0000 (+0100) Subject: kernel: bin*-pkg targets need -j X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cd612a38bb66e3eb49668f346643eff0baad3599;p=ceph-build.git kernel: bin*-pkg targets need -j Signed-off-by: Ilya Dryomov --- diff --git a/kernel/build/build_deb b/kernel/build/build_deb index c895ba14..b30281e8 100644 --- a/kernel/build/build_deb +++ b/kernel/build/build_deb @@ -88,7 +88,7 @@ rm -f ../*.deb # Build the debs echo "Building DEBs" -make bindeb-pkg +make -j$(getconf _NPROCESSORS_ONLN) bindeb-pkg # Make sure we execute at the top level directory cd "$WORKSPACE" diff --git a/kernel/build/build_rpm b/kernel/build/build_rpm index e5c35dcd..c502b3f5 100644 --- a/kernel/build/build_rpm +++ b/kernel/build/build_rpm @@ -73,7 +73,7 @@ rm -rf ~/rpmbuild/ # Build the rpms echo "Building RPMs" -make binrpm-pkg +make -j$(getconf _NPROCESSORS_ONLN) binrpm-pkg # Make sure we execute at the top level directory cd "$WORKSPACE"