[llvm-dev] Improving llvm-projects build
Manas via llvm-dev
llvm-dev at lists.llvm.org
Sun Feb 14 07:12:28 PST 2021
On Sun, Feb 14, 2021 at 02:34:57PM +0100, Dimitry Andric wrote:
> Try adding:
>
> -D LLVM_PARALLEL_LINK_JOBS=1
>
> to your CMake invocation. This lowers the number of parallel link jobs, which (at last in my experience) tend to be the largest RAM consumers during a build.
>
Thanks a lot, Dimitry. I added this option and it was extremely helpful.
It limited usage of RAM to ~1.5 gigs.
--
Manas
CSAM Undergraduate | 2022
IIIT-Delhi, India
More information about the llvm-dev
mailing list