patch cmake_linux_install.sh to do multithreaded build

The script ##cmake_linux_install.sh## is currently invoking ##make## in single-threaded mode; this patch changes it to take advantage of all available CPU threads.

Reviewers: mont29

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D358
This commit is contained in:
Lawrence D'Oliveiro
2014-02-27 15:59:58 +01:00
committed by Bastien Montagne
parent 3111f08ad9
commit 44d79c5ff8

View File

@@ -16,7 +16,7 @@ git submodule update --init --recursive
git submodule foreach git checkout master
git submodule foreach git pull --rebase origin master
# create cmake dir
# create build dir
mkdir ~/blender-git/build-cmake
cd ~/blender-git/build-cmake
@@ -25,7 +25,7 @@ cd ~/blender-git/build-cmake
cmake ../blender
# make blender, will take some time
make
make -j$(nproc)
# link the binary to blenders source directory to run quickly
ln -s ~/blender-git/build-cmake/bin/blender ~/blender-git/blender/blender.bin