diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt --- a/llvm/runtimes/CMakeLists.txt +++ b/llvm/runtimes/CMakeLists.txt @@ -27,6 +27,11 @@ 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((WIN32 AND NOT MINGW) AND ("${proj}" MATCHES "libunwind|libcxxabi")) + 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})