mstorsjo created this revision. mstorsjo added reviewers: serge-sans-paille, sammccall, whisperity, aaron.ballman. Herald added subscribers: carlosgalvezp, rnkovacs, xazax.hun, mgorny. Herald added a project: All. mstorsjo requested review of this revision. Herald added a project: clang-tools-extra.
When cross compiling llvm, a separate recursive native cmake build is generated, for building the tools that generate code (unless they're provided externally by the caller). This reduces the number of build steps for that native build from 1000+ steps to 162. This matches how the clang-pseudo-gen tool is set up in clang-tools-extra/pseudo/gen/CMakeLists.txt. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D129797 Files: clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt Index: clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt =================================================================== --- clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt +++ clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt @@ -1,3 +1,6 @@ +set(LLVM_LINK_COMPONENTS Support) +list(REMOVE_ITEM LLVM_COMMON_DEPENDS clang-tablegen-targets) + add_llvm_executable(make-confusable-table BuildConfusableTable.cpp )
Index: clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt =================================================================== --- clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt +++ clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt @@ -1,3 +1,6 @@ +set(LLVM_LINK_COMPONENTS Support) +list(REMOVE_ITEM LLVM_COMMON_DEPENDS clang-tablegen-targets) + add_llvm_executable(make-confusable-table BuildConfusableTable.cpp )
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits