mirror of
https://github.com/glest/glest-source.git
synced 2025-09-01 20:12:40 +02:00
Update BUILD.md
Added instructions on how to automatically count the number of CPU threads on linux.
This commit is contained in:
4
BUILD.md
4
BUILD.md
@@ -152,6 +152,10 @@ Now that the build configuration has been set, run make, replacing `X` with the
|
||||
|
||||
make -jX
|
||||
|
||||
On Linux, `X` can be substituted with `$(grep -c ^processor /proc/cpuinfo)`, to automatically get the number of cpu threads:
|
||||
|
||||
make -j$(grep -c ^processor /proc/cpuinfo)
|
||||
|
||||
The zetaglest binaries will be in the `build/` directory. Run
|
||||
`./zetaglest` to start the game.
|
||||
|
||||
|
Reference in New Issue
Block a user