diff --git a/mlir/test/Examples/standalone/lit.local.cfg b/mlir/test/Examples/standalone/lit.local.cfg index ac03503e46ea3..6cf89358f8992 100644 --- a/mlir/test/Examples/standalone/lit.local.cfg +++ b/mlir/test/Examples/standalone/lit.local.cfg @@ -17,3 +17,5 @@ config.substitutions.append(("%cmake_build_type", config.cmake_build_type)) if not config.llvm_shared_libs_build: config.available_features.add("non-shared-libs-build") +if config.enable_bindings_python: + config.available_features.add("bindings-python") diff --git a/mlir/test/Examples/standalone/test.wheel.toy b/mlir/test/Examples/standalone/test.wheel.toy index 17d8cb5b246c9..5ff927129793b 100644 --- a/mlir/test/Examples/standalone/test.wheel.toy +++ b/mlir/test/Examples/standalone/test.wheel.toy @@ -3,6 +3,7 @@ # C/Users/ContainerAdministrator/AppData/Local/Temp. # UNSUPPORTED: target={{.*(windows).*}} # REQUIRES: non-shared-libs-build +# REQUIRES: bindings-python # RUN: export CMAKE_BUILD_TYPE=%cmake_build_type # RUN: export CMAKE_CXX_COMPILER=%host_cxx