From a831e9845766fcf681e4b8ef5c9a3dbbef9e3fe7 Mon Sep 17 00:00:00 2001 From: Sergwest585 Date: Sat, 19 Oct 2024 20:53:20 +0300 Subject: [PATCH] run.sh: set value -j to the number of cpu cores --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 3dd27618..332323b0 100755 --- a/run.sh +++ b/run.sh @@ -1,6 +1,6 @@ mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release .. -cmake --build . -j 16 +cmake --build . -j$(nproc) cd .. build/VoxelEngine