Skip to content

Commit f32b738

Browse files
panzhufengcopybara-github
authored andcommitted
Add a patch to pybind11_abseil to remove the license file
PiperOrigin-RevId: 501703867
1 parent 626b15b commit f32b738

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/pybind11_abseil/BUILD b/pybind11_abseil/BUILD
2+
index 41482e7..ed9e4af 100644
3+
--- a/pybind11_abseil/BUILD
4+
+++ b/pybind11_abseil/BUILD
5+
@@ -6,8 +6,6 @@ package(default_visibility = ["//visibility:public"])
6+
7+
licenses(["notice"])
8+
9+
-exports_files(["LICENSE"])
10+
-
11+
pybind_library(
12+
name = "absl_casters",
13+
hdrs = ["absl_casters.h"],

third_party/pybind11_abseil/workspace.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def repo():
1616
strip_prefix = "pybind11_abseil-{commit}".format(commit = PA_COMMIT),
1717
urls = tf_mirror_urls("https://github.com/pybind/pybind11_abseil/archive/{commit}.tar.gz".format(commit = PA_COMMIT)),
1818
build_file = "//third_party/pybind11_abseil:BUILD",
19+
patch_file = ["//third_party/pybind11_abseil:remove_license.patch"],
1920
)
2021

2122
# pybind11_bazel is a dependency of pybind11_abseil.

0 commit comments

Comments
 (0)