README: explain parallel build [no ci]#7618
Conversation
|
Oh btw have you considered recommending the use of nproc instead? make -j $(nproc)nprocPrint the number of processing units (normally CPUs) available. More information: https://www.gnu.org/software/coreutils/nproc.
|
b2bb13a to
d193b2d
Compare
|
I don't think we should overcomplicate things. The main point of this change is to make users aware that a parallel build is possible at all, and for those users I would just keep the whole thing as simple as possible. |
This has been an option since CMake 3.12 though. https://cmake.org/cmake/help/latest/manual/cmake.1.html#build-tool-mode
|
Fixes #7518 .
This PR adds instructions for how to speed up compilation with
makeandcmake. I am not aware of a portable method for specifying multiple parallel jobs forcmakeso I explained how to pass arguments to the internally used build tool instead.