[llvm-dev] CMake option to disable LTO?

Duncan P. N. Exon Smith via llvm-dev llvm-dev at lists.llvm.org
Mon Jan 25 09:19:13 PST 2016


I think it'd be a bug if you got LTO by default with a debug build.
What platform are you on?  What cmake command did you use when
configuring?

> On 2016-Jan-13, at 11:20, Steve King via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Hello LLVM,
> When building LLVM/Clang (debug build), linking takes too long.  I
> notice that LTO is enabled now and guess that's to blame.  Is there a
> CMAKE config option to disable LTO linking?  I can't seem to find
> anything.
> 
> Thanks,
> -steve
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list