[llvm] [LLVM] Specialize test suites for `TableGen` and `FileCheck` to use smaller set of dependencies (PR #155929)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 18 08:07:43 PDT 2025


================
@@ -259,11 +265,16 @@ add_lit_testsuite(check-llvm "Running the LLVM regression tests"
   )
 set_target_properties(check-llvm PROPERTIES FOLDER "LLVM/Tests")
 
+# Note, exclude TableGen and FileCheck directories as we define them with a
+# reduced set of dependencies in their individual CMakeLists.txt
 add_lit_testsuites(LLVM ${CMAKE_CURRENT_SOURCE_DIR}
   ${exclude_from_check_all}
   DEPENDS ${LLVM_TEST_DEPENDS}
   FOLDER "Tests/Subdirectories"
+  SKIP "^FileCheck" "^TableGen"
----------------
jurahul wrote:

I do not currently. But would like to stick to the same scheme between LLVM and MLIR.

https://github.com/llvm/llvm-project/pull/155929


More information about the llvm-commits mailing list