[llvm-dev] [help] How to speed up compilation?

Matthias Braun via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 18 09:22:34 PDT 2016


These are two comprehensive blog posts about how to compile llvm/clang faster:

https://blogs.s-osg.org/an-introduction-to-accelerating-your-build-with-clang/ <https://blogs.s-osg.org/an-introduction-to-accelerating-your-build-with-clang/>
https://blogs.s-osg.org/a-conclusion-to-accelerating-your-build-with-clang/ <https://blogs.s-osg.org/a-conclusion-to-accelerating-your-build-with-clang/>

- Matthias

> On Oct 18, 2016, at 7:56 AM, Tim Northover via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> On 18 October 2016 at 07:51, Renato Golin via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> A few hints:
> 
> Another one for debug builds on Linux is using split debug info:
> -DLLVM_USE_SPLIT_DWARF=ON. This speeds up links dramatically (and
> reduces memory consumption) as long as you've got a new enough gdb (I
> think lldb is still not quite up to it). It has no effect on macOS
> though, because a similar configuration is just how things work there.
> 
> Tim.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://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/20161018/6d377ae6/attachment.html>


More information about the llvm-dev mailing list