Author: Martin Storsjö Date: 2022-07-18T22:50:29+03:00 New Revision: 315072b450114ca596d7cbd89b1f22f6b13b6281
URL: https://github.com/llvm/llvm-project/commit/315072b450114ca596d7cbd89b1f22f6b13b6281 DIFF: https://github.com/llvm/llvm-project/commit/315072b450114ca596d7cbd89b1f22f6b13b6281.diff LOG: [clang-tidy] Reduce the dependencies for the "make-confusable-table" tool 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. Differential Revision: https://reviews.llvm.org/D129797 Added: Modified: clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt Removed: ################################################################################ diff --git a/clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt b/clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt index 836863c80b76..a35f206fbf78 100644 --- a/clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt +++ b/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