[PATCH] D24001: [CMake] Use top-level CMake file when building compiler-rt builtins
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 29 12:59:51 PDT 2016
phosek created this revision.
phosek added a reviewer: beanz.
phosek added a subscriber: llvm-commits.
phosek set the repository for this revision to rL LLVM.
Herald added a subscriber: dberris.
Using compiler-rt/lib/builtins CMake file to build builtins forces compiler-rt CMake build to assume that it is being built as standalone which results in builtins being installed in the library directory instead of Clang resource directory as it does when compiler-rt is built from within projects. Using top-level CMake file to build compiler-rt builtins solves this issue.
@@ -122,7 +122,8 @@
# before the just-built compiler can pass the configuration tests.
+ CMAKE_ARGS -DCOMPILER_RT_BUILD_SANITIZERS=Off
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 687 bytes
Desc: not available
More information about the llvm-commits