]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
make.sh uses number of cores
authorspo <sergey.pokhodenko@opencascade.com>
Tue, 30 Jun 2015 06:39:59 +0000 (09:39 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Tue, 30 Jun 2015 06:44:42 +0000 (09:44 +0300)
make.sh

diff --git a/make.sh b/make.sh
index 258cc11919584e96d119ada589f6a97c3082eec8..f4a94002e273e05fdf0898d09056867d0295e63a 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -23,5 +23,4 @@ CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${ROOT_DIR}/${INSTALL_DIR}
 CMAKE_ARGS="${CMAKE_ARGS} ${SRC_DIR}"
 
 cmake -G "Unix Makefiles" ${CMAKE_ARGS}
-make -j4
-make install
+make -j$(nproc) install