[llvm-dev] CMake option to disable LTO?
Mehdi Amini via llvm-dev
llvm-dev at lists.llvm.org
Wed Jan 13 11:26:06 PST 2016
Hi,
There is no option (that I know of) to enable/disable LTO (it shouldn’t be enabled) other than setting it explicitly in the CMAKE_C_FLAG/CMAKE_CXX_FLAG.
Are you sure LTO is enabled? What it the value of CMAKE_C_FLAG/CMAKE_CXX_FLAG in your CMakeCache.txt?
—
Mehdi
> On Jan 13, 2016, at 11:20 AM, 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