llvm.org GIT mirror llvm / cace431
[CMake][runtimes] Don't process common options in runtimes build This is no longer needed for any of the runtimes build and it breaks in case we don't have the working compiler yet, e.g. when building a compiler that uses compiler-rt and libc++ as a default runtime, because these common options check whether these are available. Differential Revision: https://reviews.llvm.org/D39932 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318227 91177308-0d34-0410-b5e6-96231b3b80d8 Petr Hosek 3 years ago
1 changed file(s) with 0 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
8181 list(APPEND CMAKE_REQUIRED_LIBRARIES c)
8282 endif()
8383 endif()
84
85 # Handle common options used by all runtimes.
86 include(AddLLVM)
87 include(HandleLLVMOptions)
8884
8985 set(CMAKE_REQUIRED_FLAGS ${SAFE_CMAKE_REQUIRED_FLAGS})
9086 set(CMAKE_REQUIRED_LIBRARIES ${SAFE_CMAKE_REQUIRED_LIBRARIES})