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