diff options
author | Heiko Thiel <heiko.thiel@hpi.de> | 2022-03-07 12:07:11 +0100 |
---|---|---|
committer | Heiko Thiel <heiko.thiel@hpi.de> | 2022-03-07 12:07:11 +0100 |
commit | bb50d47a40f66569442113a60873cc8dccb50054 (patch) | |
tree | 79530b18a61830824e1286167b7f4c40e9bb7614 /README.md | |
parent | 0636c93d3e43220f6513447cf8158e69cc1953c5 (diff) | |
download | llvm-bb50d47a40f66569442113a60873cc8dccb50054.zip llvm-bb50d47a40f66569442113a60873cc8dccb50054.tar.gz llvm-bb50d47a40f66569442113a60873cc8dccb50054.tar.bz2 |
[README] Add hint, how to use automatically the optimal number of CPU cores
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -102,8 +102,9 @@ This is an example work-flow and configuration to get and build the LLVM source: * Running a serial build will be **slow**. To improve speed, try running a parallel build. That's done by default in Ninja; for ``make``, use the option - ``-j NNN``, where ``NNN`` is the number of parallel jobs, e.g. the number of - CPUs you have. + ``-j NNN``, where ``NNN`` is the number of parallel jobs to run. + In most cases, you get the best performance if you specify the number of CPU threads you have. + On some Unix systems, you can specify this with ``-j$(nproc)``. * For more information see [CMake](https://llvm.org/docs/CMake.html) |