[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
Sat Sep 20 05:45:32 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
----------------
jurahul wrote:

See my comment above:
>  Additionally, I found that if I rm -rf build/bin and then do ninja -C build check-llvm-filecheck it would fail due to missing llvm-lit. So added prepare-check-lit to LLVM_TEST_DEPENDS_COMMON to resolve it.

But maybe the right thing is to add the prepare-check-lit to the depends for these specialized test suites,

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


More information about the llvm-commits mailing list