Skip to content

Commit bb50d47

Browse files
author
Heiko Thiel
committed
[README] Add hint, how to use automatically the optimal number of CPU cores
1 parent 0636c93 commit bb50d47

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ This is an example work-flow and configuration to get and build the LLVM source:
102102

103103
* Running a serial build will be **slow**. To improve speed, try running a
104104
parallel build. That's done by default in Ninja; for ``make``, use the option
105-
``-j NNN``, where ``NNN`` is the number of parallel jobs, e.g. the number of
106-
CPUs you have.
105+
``-j NNN``, where ``NNN`` is the number of parallel jobs to run.
106+
In most cases, you get the best performance if you specify the number of CPU threads you have.
107+
On some Unix systems, you can specify this with ``-j$(nproc)``.
107108

108109
* For more information see [CMake](https://llvm.org/docs/CMake.html)
109110

0 commit comments

Comments
 (0)