From 3d65e9dfd0e7dff37ca46e12f980e06baa43a25c Mon Sep 17 00:00:00 2001 From: vfdev Date: Mon, 13 Jan 2025 15:19:23 +0100 Subject: [PATCH] Remove StandaloneExtensionPybind11.cpp FT update as does not work with python 3.8 and old pybind11 (#122697) Description: - Remove StandaloneExtensionPybind11.cpp FT update as does not work with python 3.8 and old pybind11 This should also fix the failing toy.test: https://github.com/llvm/llvm-project/pull/122684#issuecomment-2586802692 cc @jpienaar --- .../standalone/python/StandaloneExtensionPybind11.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mlir/examples/standalone/python/StandaloneExtensionPybind11.cpp b/mlir/examples/standalone/python/StandaloneExtensionPybind11.cpp index dd3c4c2945cca8..397db4c20e7432 100644 --- a/mlir/examples/standalone/python/StandaloneExtensionPybind11.cpp +++ b/mlir/examples/standalone/python/StandaloneExtensionPybind11.cpp @@ -12,11 +12,9 @@ #include "Standalone-c/Dialects.h" #include "mlir/Bindings/Python/PybindAdaptors.h" -namespace py = pybind11; - using namespace mlir::python::adaptors; -PYBIND11_MODULE(_standaloneDialectsPybind11, m, py::mod_gil_not_used()) { +PYBIND11_MODULE(_standaloneDialectsPybind11, m) { //===--------------------------------------------------------------------===// // standalone dialect //===--------------------------------------------------------------------===//