[Mlir-commits] [mlir] ce8c64f - Remove StandaloneExtensionPybind11.cpp FT update as does not work with python 3.8 and old pybind11 (#122697)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Jan 13 06:19:26 PST 2025
Author: vfdev
Date: 2025-01-13T16:19:23+02:00
New Revision: ce8c64fc8e067608be0dd44ca5399f85bab9e20d
URL: https://github.com/llvm/llvm-project/commit/ce8c64fc8e067608be0dd44ca5399f85bab9e20d
DIFF: https://github.com/llvm/llvm-project/commit/ce8c64fc8e067608be0dd44ca5399f85bab9e20d.diff
LOG: 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
Added:
Modified:
mlir/examples/standalone/python/StandaloneExtensionPybind11.cpp
Removed:
################################################################################
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
//===--------------------------------------------------------------------===//
More information about the Mlir-commits
mailing list