]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
kernel: bin*-pkg targets need -j 540/head
authorIlya Dryomov <idryomov@gmail.com>
Mon, 14 Nov 2016 10:35:41 +0000 (11:35 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Nov 2016 13:50:06 +0000 (14:50 +0100)
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
kernel/build/build_deb
kernel/build/build_rpm

index c895ba14f671e04c3181371b5003e476c25a9c94..b30281e862cc69ccefbd98945487edc081ed3d68 100644 (file)
@@ -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"
index e5c35dcd36aadaf04889fd2cba79696297da207b..c502b3f5ac1eb294ce2278fdeb1db12639d5752a 100644 (file)
@@ -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"