]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
do_cmake.sh: set BOOST_J to $(nproc)
authorSage Weil <sage@redhat.com>
Thu, 29 Sep 2016 16:27:51 +0000 (12:27 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Mon, 7 Nov 2016 20:56:53 +0000 (15:56 -0500)
This lets us build boost with all processors.

Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
do_cmake.sh

index b5ac28513e8b142628f226fdd520555d10a9e7bb..2e9de99e9729e93ef12b393487b0f3a26ee2f432 100755 (executable)
@@ -6,7 +6,7 @@ if test -e build; then
 fi
 mkdir build
 cd build
-cmake "$@" ..
+cmake -DBOOST_J=$(nproc) "$@" ..
 
 # minimal config to find plugins
 cat <<EOF > ceph.conf