mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 06:21:50 +00:00
run.sh: set value -j to the number of cpu cores
This commit is contained in:
parent
2a9e602a1b
commit
a831e98457
1 changed files with 1 additions and 1 deletions
2
run.sh
2
run.sh
|
|
@ -1,6 +1,6 @@
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
cmake --build . -j 16
|
cmake --build . -j$(nproc)
|
||||||
cd ..
|
cd ..
|
||||||
build/VoxelEngine
|
build/VoxelEngine
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue