[PATCH] D27739: Disable libLTO tests when libLTO is not built

Derek Schuff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 16:28:45 PST 2016


dschuff added a comment.

`-DLLVM_TOOL_LTO_BUILD=OFF`.
The background here is that I have an unfortunate bot with an old XCode toolchain, with an ld64 (ld64-236.4) that apparently does not support the `-lto_library` flag. So when the tests run it tries to use its libLTO (based on llvm 3.4) instead of the just-built libLTO, and it's of course unable to read the bitcode under test. So I thought of using `-DLLVM_TOOL_LTO_BUILD=OFF` which works, except that the tests still run.


https://reviews.llvm.org/D27739





More information about the llvm-commits mailing list