[PATCH] D143025: [Clang] Add llvm-mt and llvm-rc to Clang bootstrap dependency
Haowei Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 6 11:27:40 PST 2023
haowei updated this revision to Diff 495221.
haowei marked an inline comment as done.
haowei retitled this revision from "[Fuchsia] Add llvm-mt and llvm-rc to clang bootstrap dependency" to "[Clang] Add llvm-mt and llvm-rc to Clang bootstrap dependency".
haowei edited the summary of this revision.
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143025.495221.patch
Type: text/x-patch
Size: 658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230206/a2600cbd/attachment.bin>
More information about the cfe-commits
mailing list