[Mlir-commits] [mlir] [NVGPU] Disable nvdsl lit tests if python bindings not enabled (PR #170898)
Vijay Kandiah
llvmlistbot at llvm.org
Fri Dec 5 10:25:21 PST 2025
https://github.com/VijayKandiah created https://github.com/llvm/llvm-project/pull/170898
A recent change https://github.com/llvm/llvm-project/pull/167321 enabled nvdsl examples to be run by default. These tests require MLIR python bindings to be enabled and this PR makes sure they're skipped if `config.enable_bindings_python` is not enabled.
>From 8296beec765aceded68eef86172dd774ee897fcb Mon Sep 17 00:00:00 2001
From: Vijay Kandiah <vkandiah at nvidia.com>
Date: Fri, 5 Dec 2025 10:16:51 -0800
Subject: [PATCH] [NVGPU] Disable nvdsl lit tests if python bindings not
enabled
---
mlir/test/Examples/NVGPU/lit.local.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/test/Examples/NVGPU/lit.local.cfg b/mlir/test/Examples/NVGPU/lit.local.cfg
index cf975dad53db3..af44b2e37c671 100644
--- a/mlir/test/Examples/NVGPU/lit.local.cfg
+++ b/mlir/test/Examples/NVGPU/lit.local.cfg
@@ -1,4 +1,4 @@
config.unsupported = False
-if not config.enable_cuda_runner:
+if not config.enable_cuda_runner or not config.enable_bindings_python:
config.unsupported = True
\ No newline at end of file
More information about the Mlir-commits
mailing list