[PATCH] D45507: [CMake][runtimes] Process common options in runtimes build
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 10 22:21:09 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL329778: [CMake][runtimes] Process common options in runtimes build (authored by phosek, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D45507?vs=141931&id=141948#toc
Repository:
rL LLVM
https://reviews.llvm.org/D45507
Files:
llvm/trunk/runtimes/CMakeLists.txt
Index: llvm/trunk/runtimes/CMakeLists.txt
===================================================================
--- llvm/trunk/runtimes/CMakeLists.txt
+++ llvm/trunk/runtimes/CMakeLists.txt
@@ -107,6 +107,13 @@
endif()
endif()
+ # Avoid checking whether the compiler is working.
+ set(LLVM_COMPILER_CHECKED ON)
+
+ # 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})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45507.141948.patch
Type: text/x-patch
Size: 550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180411/171056a1/attachment.bin>
More information about the llvm-commits
mailing list