Update BUILD.md

Added instructions on how to automatically count the number of CPU threads on linux.
This commit is contained in:
James Sherratt
2019-01-27 21:58:31 +00:00
committed by GitHub
parent 29518727d1
commit 68391292ae

View File

@@ -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.