From bb50d47a40f66569442113a60873cc8dccb50054 Mon Sep 17 00:00:00 2001 From: Heiko Thiel Date: Mon, 7 Mar 2022 12:07:11 +0100 Subject: [PATCH] [README] Add hint, how to use automatically the optimal number of CPU cores --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 15da30276508..40284fed5b98 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)