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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Sep 16 09:42:13 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Maksim Levental (makslevental)

<details>
<summary>Changes</summary>

[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 make sure to include all of them in `MLIR_PYTHON_TEST_DEPENDS`.

---
Full diff: https://github.com/llvm/llvm-project/pull/159124.diff


1 Files Affected:

- (modified) mlir/test/python/CMakeLists.txt (+1-1) 


``````````diff
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}

``````````

</details>


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


More information about the Mlir-commits mailing list