[llvm-dev] debug build busts memory

David Jones via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 26 10:31:10 PST 2019

Throw hardware at it.

I build LLVM just fine on my 32GB Ryzen 1700X system.

You don't indicate what your CPU is. At the very least, another 16GB should
not be that expensive these days.  However, if you are serious on doing
LLVM development, consider a modern system with at least 32GB and a
high-thread-count processor. e.g. Ryzen 1700X is cheap these days and
provides 16 threads. Newer AMD processors will be even better, and Intel
has similar offerings.

On Tue, Nov 26, 2019 at 1:15 PM Bagel via llvm-dev <llvm-dev at lists.llvm.org>

> The linking state of a Debug build seems to require a humongous amount of
> memory.  My poor little linux machine with 16G of ram swaps its brains
> out.
> Waiting for it to finish (if it ever does) is like the old days when you
> submitted your deck of cards and waited until the next day to see the
> results.
> To debug a new backend, is there a way to just get the debug info for the
> Target/Foo directory?
> Is there a way to just build "llc"?
> Any ideas to speed things up?
> Thanks, brian
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191126/04e8aaae/attachment.html>

More information about the llvm-dev mailing list