[cfe-dev] Building clang

denis gantsev via cfe-dev cfe-dev at lists.llvm.org
Sat Aug 15 03:28:38 PDT 2020


Hi,
I wanted to play with clang, and was trying to build it according to
instructions (https://clang.llvm.org/get_started.html), with GCC 5.5 and
GNU ld 2.26.1, running my linux 5.6.7.

However, the build regularly fails, running out of memory (my laptop has
12Gb RAM). I tried with both "Unix Makefiles" and "Ninja 1.7.1". I did
specify explicitly "DLLVM_ENABLE_PROJECTS=clang".

Is it expected to consume that much memory during build?

Regards,
Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200815/517839e2/attachment.html>


More information about the cfe-dev mailing list