[Mlir-commits] [mlir] [NVGPU] Disable nvdsl lit tests if python bindings not enabled (PR #170898)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Dec 5 10:25:41 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir-gpu

Author: Vijay Kandiah (VijayKandiah)

<details>
<summary>Changes</summary>

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.

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


1 Files Affected:

- (modified) mlir/test/Examples/NVGPU/lit.local.cfg (+1-1) 


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

``````````

</details>


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


More information about the Mlir-commits mailing list