[PATCH] D73812: [CMake] Filter libc++abi and libunwind from runtimes build in MSVC
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 5 10:05:34 PST 2020
phosek updated this revision to Diff 242674.
phosek marked 2 inline comments as done.
phosek retitled this revision from "[CMake] Filter libc++abi and libunwind from runtimes build on Windows/MSVC" to "[CMake] Filter libc++abi and libunwind from runtimes build in MSVC".
phosek edited the summary of this revision.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73812/new/
https://reviews.llvm.org/D73812
Files:
llvm/runtimes/CMakeLists.txt
Index: llvm/runtimes/CMakeLists.txt
===================================================================
--- llvm/runtimes/CMakeLists.txt
+++ llvm/runtimes/CMakeLists.txt
@@ -27,6 +27,12 @@
set(LLVM_ENABLE_RUNTIMES ${LLVM_ALL_RUNTIMES})
endif()
foreach(proj ${LLVM_ENABLE_RUNTIMES})
+ # TODO: libunwind and libcxxabi don't currently build on Windows so filter them out.
+ if(MSVC AND ("${proj}" MATCHES "libunwind|libcxxabi"))
+ message(WARNING "Skipping ${proj} which is not supported in MSVC yet")
+ continue()
+ endif()
+
set(proj_dir "${CMAKE_CURRENT_SOURCE_DIR}/../../${proj}")
if(IS_DIRECTORY ${proj_dir} AND EXISTS ${proj_dir}/CMakeLists.txt)
list(APPEND runtimes ${proj_dir})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73812.242674.patch
Type: text/x-patch
Size: 708 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200205/6452eea5/attachment.bin>
More information about the llvm-commits
mailing list