set make -j to use actual number of threads

This commit is contained in:
Ryozuki 2019-04-25 19:11:29 +02:00 committed by GitHub
parent aa5458b81d
commit 52d51d8004
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ To compile DDNet yourself, execute the following commands in the source root:
mkdir build mkdir build
cd build cd build
cmake .. cmake ..
make -j8 make -j$(nproc)
Pass the number of threads for compilation to `make -j`. DDNet requires additional libraries, that are bundled for the most common platforms (Windows, Mac, Linux, all x86 and x86\_64). The bundled libraries are now in the ddnet-libs submodule. Pass the number of threads for compilation to `make -j`. DDNet requires additional libraries, that are bundled for the most common platforms (Windows, Mac, Linux, all x86 and x86\_64). The bundled libraries are now in the ddnet-libs submodule.