Skip to content
This repository was archived by the owner on Oct 11, 2025. It is now read-only.

Commit 7eb55f7

Browse files
authored
Revert "Revert "[mlir python] Add nanobind support (#119232)
Reverts revert #118517 after (hopefully) fixing builders (llvm/llvm-zorg#328, llvm/llvm-zorg#327) This reverts commit 61bf308cf2fc32452f14861c102ace89f5f36fec.
1 parent 88b0f4a commit 7eb55f7

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

DialectLLVM.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
#include <string>
10+
911
#include "mlir-c/Dialect/LLVM.h"
1012
#include "mlir-c/IR.h"
1113
#include "mlir-c/Support.h"
14+
#include "mlir/Bindings/Python/Diagnostics.h"
1215
#include "mlir/Bindings/Python/PybindAdaptors.h"
13-
#include <string>
1416

1517
namespace py = pybind11;
1618
using namespace llvm;

TransformInterpreter.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13+
#include <pybind11/detail/common.h>
14+
#include <pybind11/pybind11.h>
15+
1316
#include "mlir-c/Dialect/Transform/Interpreter.h"
1417
#include "mlir-c/IR.h"
1518
#include "mlir-c/Support.h"
19+
#include "mlir/Bindings/Python/Diagnostics.h"
1620
#include "mlir/Bindings/Python/PybindAdaptors.h"
1721

18-
#include <pybind11/detail/common.h>
19-
#include <pybind11/pybind11.h>
20-
2122
namespace py = pybind11;
2223

2324
namespace {

0 commit comments

Comments
 (0)