Priyanka Kapoor via llvm-dev
2017-Jul-07 07:43 UTC
[llvm-dev] Linking bugpoint - memory usage
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170707/5aa9262d/attachment.html>
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-devPriyanka, 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