[llvm-dev] Linking bugpoint - memory usage

incertia via llvm-dev llvm-dev at lists.llvm.org
Fri Jul 7 10:39:57 PDT 2017


On Fri, Jul 07, 2017 at 01:13:49PM +0530, Priyanka Kapoor via llvm-dev wrote:
> Hello,
> 
> I have been trying to build LLVM and the build is stuck in Linking CXX
> executable bin/bugpoint since a long time. I was wondering how much memory
> is required for the linking of this tool? The memory usage shows that 32G
> has been already used up.
> 
> Thanks,
> Priyanka

> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

Priyanka,

bugpoint requires a lot of memory to link, especially if you are running
a debug build. Try -DCMAKE_BUILD_TYPE=Release to reduce memory usage.

-- 
Will Song


More information about the llvm-dev mailing list