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

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 22 01:36:12 PDT 2025


================
@@ -59,100 +59,106 @@ configure_lit_site_cfg(
 
 # Set the depends list as a variable so that it can grow conditionally.
 # NOTE: Sync the substitutions in test/lit.cfg when adding to this list.
+
+set(LLVM_TEST_DEPENDS_COMMON
+  FileCheck
+  count
+  llvm-config
+  not
+  prepare-check-lit
----------------
s-barannikov wrote:

`bin/llvm-lit` is generated by `configure_file`, which will only "reconfigure" the file again if the input file has changed.
It will not "reconfigure" the generated file if it was deleted/modified, for that to happen you need to re-run CMake.


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


More information about the llvm-commits mailing list