[Mlir-commits] [mlir] [MLIR][Python] add not to MLIR_PYTHON_TEST_DEPENDS (PR #159124)

Maksim Levental llvmlistbot at llvm.org
Tue Sep 16 09:41:40 PDT 2025


https://github.com/makslevental created https://github.com/llvm/llvm-project/pull/159124

[lit complains if these aren't found](https://github.com/llvm/llvm-project/blob/95fc948c0a07953ae9d0973854336e197e36d349/llvm/utils/lit/lit/llvm/config.py#L466-L482) (even if they're not used by a test...) so include them in `MLIR_PYTHON_TEST_DEPENDS`.

>From e4b6a83ce2cddeba0609a0cd74c3eadd4e63e533 Mon Sep 17 00:00:00 2001
From: makslevental <maksim.levental at gmail.com>
Date: Tue, 16 Sep 2025 09:40:09 -0700
Subject: [PATCH] [MLIR][Python] add not to MLIR_PYTHON_TEST_DEPENDS

---
 mlir/test/python/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mlir/test/python/CMakeLists.txt b/mlir/test/python/CMakeLists.txt
index d68f3ff82e883..e1e82ef367b1e 100644
--- a/mlir/test/python/CMakeLists.txt
+++ b/mlir/test/python/CMakeLists.txt
@@ -13,7 +13,7 @@ add_subdirectory(lib)
 
 set(MLIR_PYTHON_TEST_DEPENDS MLIRPythonModules)
 if(NOT MLIR_STANDALONE_BUILD)
-  list(APPEND MLIR_PYTHON_TEST_DEPENDS FileCheck count)
+  list(APPEND MLIR_PYTHON_TEST_DEPENDS FileCheck count not)
 endif()
 add_lit_testsuite(check-mlir-python "Running the MLIR Python regression tests"
   ${CMAKE_CURRENT_BINARY_DIR}



More information about the Mlir-commits mailing list