[PATCH] D77346: [docs] Corrected inaccuracies in Common Problems section
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 15 16:34:13 PDT 2020
aprantl added inline comments.
================
Comment at: llvm/docs/GettingStarted.rst:1114
* -DCMAKE_BUILD_TYPE
- This option defaults to Debug; however, this may consume more memory during
- the linking phase. So, you may wish to use the build type Release. Another
- build type you may wish to consider is release-with-asserts which compiles at
- nearly the same rate as the Release build; however, it may not be as easy
- to debug. MinSizeRel is another build type you may wish to consider, if you
- are still having problems with slow build time.
-
- * -DLLVM_PARALLEL_LINK_JOBS
- Set this equal to number of jobs you wish to run simultaneously. This is
- similar to the -j option used with make, but only for link jobs. This option
- is of course only meaningful if you plan to build with ninja. You may wish to
- use a very low number of jobs, as this will greatly reduce the amount memory
- used during the build process. If you have limited memory, you may wish to
- set this to 1.
+ This option defaults to Debug. On Linux, this causes higher memory usage
+ during the linking phase. So, you may wish to use the Release build type and
----------------
On platforms using ELF (such as Linux), this ...
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77346/new/
https://reviews.llvm.org/D77346
More information about the llvm-commits
mailing list