Skip to content

Commit cace431

Browse files
committed
[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
1 parent c8d2a1d commit cace431

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

runtimes/CMakeLists.txt

-4
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,6 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
8383
endif()
8484
endif()
8585

86-
# Handle common options used by all runtimes.
87-
include(AddLLVM)
88-
include(HandleLLVMOptions)
89-
9086
set(CMAKE_REQUIRED_FLAGS ${SAFE_CMAKE_REQUIRED_FLAGS})
9187
set(CMAKE_REQUIRED_LIBRARIES ${SAFE_CMAKE_REQUIRED_LIBRARIES})
9288

0 commit comments

Comments
 (0)