[Mlir-commits] [mlir] [MLIR][Python] Make check-mlir-python depend on runner utils (PR #166077)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Nov 2 17:59:22 PST 2025
https://github.com/PragmaTwice updated https://github.com/llvm/llvm-project/pull/166077
>From 169e42194ab80c47d0cf1b2cf8b7c405d9cc046b Mon Sep 17 00:00:00 2001
From: PragmaTwice <twice at apache.org>
Date: Mon, 3 Nov 2025 00:48:27 +0800
Subject: [PATCH 1/2] [MLIR][Python] Make check-mlir-python depend on runner
utils
---
mlir/test/python/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mlir/test/python/CMakeLists.txt b/mlir/test/python/CMakeLists.txt
index 2c123811c2998..e9cc173a8111a 100644
--- a/mlir/test/python/CMakeLists.txt
+++ b/mlir/test/python/CMakeLists.txt
@@ -12,6 +12,8 @@ add_public_tablegen_target(MLIRPythonTestIncGen)
add_subdirectory(lib)
set(MLIR_PYTHON_TEST_DEPENDS MLIRPythonModules mlir-runner)
+# These two targets are required by ExecutionEngine test cases.
+list(APPEND MLIR_PYTHON_TEST_DEPENDS mlir_c_runner_utils mlir_runner_utils)
if(NOT MLIR_STANDALONE_BUILD)
list(APPEND MLIR_PYTHON_TEST_DEPENDS FileCheck count not)
endif()
>From 32c9925cf36fadc8d2a12ca597f5e34d055f8366 Mon Sep 17 00:00:00 2001
From: Twice <twice at apache.org>
Date: Mon, 3 Nov 2025 09:59:15 +0800
Subject: [PATCH 2/2] Update mlir/test/python/CMakeLists.txt
---
mlir/test/python/CMakeLists.txt | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/mlir/test/python/CMakeLists.txt b/mlir/test/python/CMakeLists.txt
index e9cc173a8111a..c81f75fc6a1af 100644
--- a/mlir/test/python/CMakeLists.txt
+++ b/mlir/test/python/CMakeLists.txt
@@ -11,9 +11,7 @@ add_public_tablegen_target(MLIRPythonTestIncGen)
add_subdirectory(lib)
-set(MLIR_PYTHON_TEST_DEPENDS MLIRPythonModules mlir-runner)
-# These two targets are required by ExecutionEngine test cases.
-list(APPEND MLIR_PYTHON_TEST_DEPENDS mlir_c_runner_utils mlir_runner_utils)
+set(MLIR_PYTHON_TEST_DEPENDS MLIRPythonModules mlir-runner mlir_c_runner_utils mlir_runner_utils)
if(NOT MLIR_STANDALONE_BUILD)
list(APPEND MLIR_PYTHON_TEST_DEPENDS FileCheck count not)
endif()
More information about the Mlir-commits
mailing list