1
0
mirror of https://github.com/minetest/minetest.git synced 2025-06-28 06:11:44 +02:00

Auto-detect level of parallelism

This commit is contained in:
ShadowNinja
2021-12-22 22:18:27 -05:00
committed by rubenwardy
parent 8af332c9a7
commit 35bfffb556
3 changed files with 3 additions and 7 deletions

View File

@ -5,4 +5,4 @@ cd build
cmake -DCMAKE_BUILD_TYPE=Debug \
-DRUN_IN_PLACE=TRUE -DENABLE_GETTEXT=TRUE \
-DBUILD_SERVER=TRUE ${CMAKE_FLAGS} ..
make -j2
make -j$(($(nproc) + 1))

View File

@ -8,6 +8,6 @@ cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_TESTING=0
make -j2
make -j$(nproc)
sudo make install