[bazel] Remove pybind dep (#191269)
This is entirely gone from llvm code
This commit is contained in:
@@ -27,7 +27,6 @@ use_repo(
|
||||
"mpfr",
|
||||
"nanobind",
|
||||
"pfm",
|
||||
"pybind11",
|
||||
"pyyaml",
|
||||
"robin_map",
|
||||
"vulkan_headers",
|
||||
|
||||
11
utils/bazel/MODULE.bazel.lock
generated
11
utils/bazel/MODULE.bazel.lock
generated
@@ -234,7 +234,7 @@
|
||||
"moduleExtensions": {
|
||||
"//:extensions.bzl%llvm_repos_extension": {
|
||||
"general": {
|
||||
"bzlTransitiveDigest": "rTcAYj9/bbplfywX07/EVPa4ovMYVYbNSlREdk0XNSI=",
|
||||
"bzlTransitiveDigest": "YRuiz8qImVT8uVV8Sn8qLFmHoDJtHSxaYC6osnuKKh4=",
|
||||
"usagesDigest": "X0yUkkWyxQ2Y5oZVDkRSE/K4YkDWo1IjhHsL+1weKyU=",
|
||||
"recordedFileInputs": {},
|
||||
"recordedDirentsInputs": {},
|
||||
@@ -308,15 +308,6 @@
|
||||
"build_file": "@@+llvm_repos_extension+llvm-raw//utils/bazel/third_party_build:pfm.BUILD"
|
||||
}
|
||||
},
|
||||
"pybind11": {
|
||||
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||
"attributes": {
|
||||
"url": "https://github.com/pybind/pybind11/archive/v2.10.3.zip",
|
||||
"sha256": "201966a61dc826f1b1879a24a3317a1ec9214a918c8eb035be2f30c3e9cfbdcb",
|
||||
"strip_prefix": "pybind11-2.10.3",
|
||||
"build_file": "@@+llvm_repos_extension+llvm-raw//utils/bazel/third_party_build:pybind.BUILD"
|
||||
}
|
||||
},
|
||||
"pyyaml": {
|
||||
"repoRuleId": "@@bazel_tools//tools/build_defs/repo:http.bzl%http_archive",
|
||||
"attributes": {
|
||||
|
||||
@@ -70,14 +70,6 @@ def _llvm_repos_extension_impl(module_ctx):
|
||||
build_file = "@llvm-raw//utils/bazel/third_party_build:pfm.BUILD",
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "pybind11",
|
||||
url = "https://github.com/pybind/pybind11/archive/v2.10.3.zip",
|
||||
sha256 = "201966a61dc826f1b1879a24a3317a1ec9214a918c8eb035be2f30c3e9cfbdcb",
|
||||
strip_prefix = "pybind11-2.10.3",
|
||||
build_file = "@llvm-raw//utils/bazel/third_party_build:pybind.BUILD",
|
||||
)
|
||||
|
||||
http_archive(
|
||||
name = "pyyaml",
|
||||
url = "https://github.com/yaml/pyyaml/archive/refs/tags/5.1.zip",
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
|
||||
cc_library(
|
||||
name = "pybind11",
|
||||
hdrs = glob(
|
||||
include = ["include/pybind11/**/*.h"],
|
||||
exclude = [
|
||||
# Deprecated file that just emits a warning
|
||||
"include/pybind11/common.h",
|
||||
],
|
||||
),
|
||||
includes = ["include"],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"@rules_python//python/cc:current_py_cc_headers",
|
||||
],
|
||||
)
|
||||
Reference in New Issue
Block a user