mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 09:38:19 +00:00
dont assume number of threads when using make
This commit is contained in:
parent
686cb5f1a7
commit
b9a0d14619
|
@ -158,7 +158,7 @@ This library isn't compiled, so you have to do it:
|
|||
sudo apt install libgtest-dev
|
||||
cd /usr/src/gtest
|
||||
sudo cmake CMakeLists.txt
|
||||
sudo make -j8
|
||||
sudo make -j$(nproc)
|
||||
|
||||
# copy or symlink libgtest.a and libgtest_main.a to your /usr/lib folder
|
||||
sudo cp lib/*.a /usr/lib
|
||||
|
@ -287,7 +287,7 @@ add_sqlserver w teeworlds record teeworlds "PW2" "localhost" "3306"
|
|||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake -DMYSQL=ON ..
|
||||
$ make -j8
|
||||
$ make -j$(nproc)
|
||||
$ ./DDNet-Server -f mine.cfg
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue