aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorHeiko Thiel <heiko.thiel@hpi.de>2022-03-07 12:07:11 +0100
committerHeiko Thiel <heiko.thiel@hpi.de>2022-03-07 12:07:11 +0100
commitbb50d47a40f66569442113a60873cc8dccb50054 (patch)
tree79530b18a61830824e1286167b7f4c40e9bb7614 /README.md
parent0636c93d3e43220f6513447cf8158e69cc1953c5 (diff)
downloadllvm-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.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 15da302..40284fe 100644
--- a/README.md
+++ b/README.md
@@ -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)