[llvm] [LLVM] Specialize test suites for `TableGen` and `FileCheck` to use smaller set of dependencies (PR #155929)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 22 00:44: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
----------------
joker-eph wrote:
> I guess you shouldn't remove just bin subdirectory, this makes build tree corrupted
Really? I do this often, and ninja is supposed to figure it out if the dependencies are correctly defined in CMake.
Can you elaborate on what makes a specific bin/<tool> being built when running `ninja check-llvm-filecheck ` in a clean build directory but not in one where you delete the file and re-run?
https://github.com/llvm/llvm-project/pull/155929
More information about the llvm-commits
mailing list