[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 00:36:36 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:

> 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.

I guess you shouldn't remove just `bin` subdirectory. If you remove the whole `build` directory, `check-llvm-filecheck` works without the `prepare-check-lit` dependency. I think we should just remove it.


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


More information about the llvm-commits mailing list