diff --git a/build.nr b/build.nr index 58d8972..824cab0 100644 --- a/build.nr +++ b/build.nr @@ -1 +1 @@ -1866 +1867 diff --git a/compile b/compile index cd0ae22..e60d59f 100755 --- a/compile +++ b/compile @@ -6,7 +6,7 @@ rm -r Release if [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then cmake -B bin -S ./ cd bin - make + make -j$(grep -c ^processor /proc/cpuinfo) cd .. if [ $? -eq 0 ]; then mkdir -p ./Release/lib @@ -29,7 +29,7 @@ if [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then cmake -B bin -S ./ -G "MinGW Makefiles" cd bin - mingw32-make.exe + mingw32-make.exe -j$(grep -c ^processor /proc/cpuinfo) cd .. if [ $? -eq 0 ]; then mkdir -p ./Release/lib @@ -59,4 +59,4 @@ elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then truncate -s 0 build.nr echo $build_number >> build.nr fi -fi \ No newline at end of file +fi