diff options
author | Lawrence D'Oliveiro <from-blender@geek-central.gen.nz> | 2014-02-27 18:59:58 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2014-02-27 19:00:26 +0400 |
commit | 44d79c5ff8b6294d724b78be2bd18562c0be0a19 (patch) | |
tree | 8ac4b3c4beabe3430bfe27678cd98fdb031ea1fd /build_files | |
parent | 3111f08ad956352e9dfeedb8600fb35b4e38543d (diff) |
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
Diffstat (limited to 'build_files')
-rwxr-xr-x | build_files/cmake/example_scripts/cmake_linux_install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_files/cmake/example_scripts/cmake_linux_install.sh b/build_files/cmake/example_scripts/cmake_linux_install.sh index 6ef50742c42..34bbe104b3b 100755 --- a/build_files/cmake/example_scripts/cmake_linux_install.sh +++ b/build_files/cmake/example_scripts/cmake_linux_install.sh @@ -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 |