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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Dec 5 10:36:34 PST 2025


Author: Vijay Kandiah
Date: 2025-12-05T12:36:30-06:00
New Revision: db4e6e6911b0cb3b26c377859beaf3a9d5c162cb

URL: https://github.com/llvm/llvm-project/commit/db4e6e6911b0cb3b26c377859beaf3a9d5c162cb
DIFF: https://github.com/llvm/llvm-project/commit/db4e6e6911b0cb3b26c377859beaf3a9d5c162cb.diff

LOG: [NVGPU] Disable nvdsl lit tests if python bindings not enabled (#170898)

A recent change https://github.com/llvm/llvm-project/pull/167321 enabled
nvdsl examples to be run by default. These examples require MLIR python
bindings to be enabled, and this PR makes sure they're skipped if
`config.enable_bindings_python` is not enabled.

Added: 
    

Modified: 
    mlir/test/Examples/NVGPU/lit.local.cfg

Removed: 
    


################################################################################
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