[llvm] r318227 - [CMake][runtimes] Don't process common options in runtimes build
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 15:56:05 PST 2017
Author: phosek
Date: Tue Nov 14 15:56:05 2017
New Revision: 318227
URL: http://llvm.org/viewvc/llvm-project?rev=318227&view=rev
Log:
[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
Modified:
llvm/trunk/runtimes/CMakeLists.txt
Modified: llvm/trunk/runtimes/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/runtimes/CMakeLists.txt?rev=318227&r1=318226&r2=318227&view=diff
==============================================================================
--- llvm/trunk/runtimes/CMakeLists.txt (original)
+++ llvm/trunk/runtimes/CMakeLists.txt Tue Nov 14 15:56:05 2017
@@ -83,10 +83,6 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_
endif()
endif()
- # Handle common options used by all runtimes.
- include(AddLLVM)
- include(HandleLLVMOptions)
-
set(CMAKE_REQUIRED_FLAGS ${SAFE_CMAKE_REQUIRED_FLAGS})
set(CMAKE_REQUIRED_LIBRARIES ${SAFE_CMAKE_REQUIRED_LIBRARIES})
More information about the llvm-commits
mailing list