Skip to content

Commit 80060d5

Browse files
authored
build(bazel): update workspace file to work with protobuf v29 (#14864)
1 parent 0692913 commit 80060d5

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

bazel/workspace0.bzl

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,21 @@ def gl_cpp_workspace0(name = None):
7171
http_archive,
7272
name = "rules_cc",
7373
urls = [
74-
"https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz",
74+
"https://github.com/bazelbuild/rules_cc/releases/download/0.0.15/rules_cc-0.0.15.tar.gz",
75+
],
76+
sha256 = "f4aadd8387f381033a9ad0500443a52a0cea5f8ad1ede4369d3c614eb7b2682e",
77+
strip_prefix = "rules_cc-0.0.15",
78+
)
79+
80+
# protobuf requires this
81+
maybe(
82+
http_archive,
83+
name = "bazel_skylib",
84+
sha256 = "d00f1389ee20b60018e92644e0948e16e350a7707219e7a390fb0a99b6ec9262",
85+
urls = [
86+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.0/bazel-skylib-1.7.0.tar.gz",
87+
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.0/bazel-skylib-1.7.0.tar.gz",
7588
],
76-
sha256 = "2037875b9a4456dce4a79d112a8ae885bbc4aad968e6587dca6e64f3a0900cdf",
77-
strip_prefix = "rules_cc-0.0.9",
7889
)
7990

8091
# The version of `rules_apple` loaded by gRPC is too old for Bazel 7.

0 commit comments

Comments
 (0)