Skip to content

Commit 3d65e9d

Browse files
vfdev-5kazutakahirata
authored andcommitted
Remove StandaloneExtensionPybind11.cpp FT update as does not work with python 3.8 and old pybind11 (llvm#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: llvm#122684 (comment) cc @jpienaar
1 parent fd605d0 commit 3d65e9d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mlir/examples/standalone/python/StandaloneExtensionPybind11.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@
1212
#include "Standalone-c/Dialects.h"
1313
#include "mlir/Bindings/Python/PybindAdaptors.h"
1414

15-
namespace py = pybind11;
16-
1715
using namespace mlir::python::adaptors;
1816

19-
PYBIND11_MODULE(_standaloneDialectsPybind11, m, py::mod_gil_not_used()) {
17+
PYBIND11_MODULE(_standaloneDialectsPybind11, m) {
2018
//===--------------------------------------------------------------------===//
2119
// standalone dialect
2220
//===--------------------------------------------------------------------===//

0 commit comments

Comments
 (0)