Skip to content

Commit

Permalink
#633 speed up make in install script using the number of cores
Browse files Browse the repository at this point in the history
  • Loading branch information
Scottmar93 committed Oct 25, 2019
1 parent aea2f62 commit 7729dd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/install_sundials_4.1.0.sh
Expand Up @@ -33,8 +33,9 @@ cmake -DBLAS_ENABLE=ON\
../sundials-4.1.0


NUM_OF_CORES=$(cat /proc/cpuinfo | grep processor | wc -l)
make clean
make install
make -j$NUM_OF_CORES install
cd $CURRENT_DIR
rm -rf build-sundials-4.1.0
rm -rf sundials-4.1.0
Expand Down

0 comments on commit 7729dd6

Please sign in to comment.