This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGdc1c8917afd3: [Clang] Add llvm-mt and llvm-rc to Clang
bootstrap dependency (authored by haowei).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143025/new/
https://reviews.llvm.org/D143025
Files:
clang/CMakeLists.txt
Index: clang/CMakeLists.txt
===================================================================
--- clang/CMakeLists.txt
+++ clang/CMakeLists.txt
@@ -595,6 +595,14 @@
add_dependencies(clang-bootstrap-deps lld)
endif()
+ if (WIN32)
+ # Build llvm-rc and llvm-mt which are needed by the Windows build.
+ add_dependencies(clang-bootstrap-deps llvm-rc)
+ if(LLVM_ENABLE_LIBXML2)
+ add_dependencies(clang-bootstrap-deps llvm-mt)
+ endif()
+ endif()
+
# If the next stage is LTO we need to depend on LTO and possibly lld or
LLVMgold
if(BOOTSTRAP_LLVM_ENABLE_LTO OR LLVM_ENABLE_LTO AND NOT
LLVM_BUILD_INSTRUMENTED)
if(APPLE)
Index: clang/CMakeLists.txt
===================================================================
--- clang/CMakeLists.txt
+++ clang/CMakeLists.txt
@@ -595,6 +595,14 @@
add_dependencies(clang-bootstrap-deps lld)
endif()
+ if (WIN32)
+ # Build llvm-rc and llvm-mt which are needed by the Windows build.
+ add_dependencies(clang-bootstrap-deps llvm-rc)
+ if(LLVM_ENABLE_LIBXML2)
+ add_dependencies(clang-bootstrap-deps llvm-mt)
+ endif()
+ endif()
+
# If the next stage is LTO we need to depend on LTO and possibly lld or LLVMgold
if(BOOTSTRAP_LLVM_ENABLE_LTO OR LLVM_ENABLE_LTO AND NOT LLVM_BUILD_INSTRUMENTED)
if(APPLE)
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits