Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ed1f1b8

Browse files
authored
Revert "[bazel][mlir][python] Port #155741: stub auto-generation (#157173)" (#157995)
This reverts commit 46d8fdd. The whole set of commits got reverted in #157831, reverting this one too.
1 parent ead4f3e commit ed1f1b8

File tree

2 files changed

+39
-3
lines changed

2 files changed

+39
-3
lines changed

utils/bazel/WORKSPACE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ maybe(
186186
http_archive,
187187
name = "nanobind",
188188
build_file = "@llvm-raw//utils/bazel/third_party_build:nanobind.BUILD",
189-
sha256 = "8ce3667dce3e64fc06bfb9b778b6f48731482362fb89a43da156632266cd5a90",
190-
strip_prefix = "nanobind-2.9.2",
191-
url = "https://github.com/wjakob/nanobind/archive/refs/tags/v2.9.2.tar.gz",
189+
sha256 = "bb35deaed7efac5029ed1e33880a415638352f757d49207a8e6013fefb6c49a7",
190+
strip_prefix = "nanobind-2.4.0",
191+
url = "https://github.com/wjakob/nanobind/archive/refs/tags/v2.4.0.tar.gz",
192192
)
193193

194194
load("@rules_python//python:repositories.bzl", "py_repositories", "python_register_toolchains")

utils/bazel/llvm-project-overlay/mlir/python/BUILD.bazel

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ filegroup(
3232
],
3333
)
3434

35+
filegroup(
36+
name = "ExecutionEnginePyIFiles",
37+
srcs = [
38+
"mlir/_mlir_libs/_mlirExecutionEngine.pyi",
39+
],
40+
)
41+
3542
filegroup(
3643
name = "IRPyFiles",
3744
srcs = [
@@ -46,6 +53,14 @@ filegroup(
4653
]),
4754
)
4855

56+
filegroup(
57+
name = "IRPyIFiles",
58+
srcs = [
59+
"mlir/_mlir_libs/_mlir/__init__.pyi",
60+
"mlir/_mlir_libs/_mlir/ir.pyi",
61+
],
62+
)
63+
4964
filegroup(
5065
name = "MlirLibsPyFiles",
5166
srcs = [
@@ -60,6 +75,13 @@ filegroup(
6075
],
6176
)
6277

78+
filegroup(
79+
name = "PassManagerPyIFiles",
80+
srcs = [
81+
"mlir/_mlir_libs/_mlir/passmanager.pyi",
82+
],
83+
)
84+
6385
filegroup(
6486
name = "RewritePyFiles",
6587
srcs = [
@@ -637,6 +659,13 @@ gentbl_filegroup(
637659
],
638660
)
639661

662+
filegroup(
663+
name = "PDLPyIFiles",
664+
srcs = [
665+
"mlir/_mlir_libs/_mlir/dialects/pdl.pyi",
666+
],
667+
)
668+
640669
filegroup(
641670
name = "PDLPyFiles",
642671
srcs = [
@@ -727,6 +756,13 @@ filegroup(
727756
# Quant dialect.
728757
##---------------------------------------------------------------------------##
729758

759+
filegroup(
760+
name = "QuantPyIFiles",
761+
srcs = [
762+
"mlir/_mlir_libs/_mlir/dialects/quant.pyi",
763+
],
764+
)
765+
730766
filegroup(
731767
name = "QuantPyFiles",
732768
srcs = [

0 commit comments

Comments
 (0)