From c8d612686a56a351e200a9fddafded31a7a76c4c Mon Sep 17 00:00:00 2001 From: Scott Hart Date: Mon, 2 Dec 2024 12:25:46 -0500 Subject: [PATCH 1/2] build(bazel): update workspace file to work with protobuf v29 --- bazel/workspace0.bzl | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/bazel/workspace0.bzl b/bazel/workspace0.bzl index 9246514207a68..f1a6a35fcde78 100644 --- a/bazel/workspace0.bzl +++ b/bazel/workspace0.bzl @@ -71,10 +71,21 @@ def gl_cpp_workspace0(name = None): http_archive, name = "rules_cc", urls = [ - "https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz", + "https://github.com/bazelbuild/rules_cc/releases/download/0.0.15/rules_cc-0.0.15.tar.gz", + ], + sha256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + strip_prefix = "rules_cc-0.0.15", + ) + + # protobuf requires this + maybe( + http_archive, + name = "bazel_skylib", + sha256 = "d00f1389ee20b60018e92644e0948e16e350a7707219e7a390fb0a99b6ec9262", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.0/bazel-skylib-1.7.0.tar.gz", + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.0/bazel-skylib-1.7.0.tar.gz", ], - sha256 = "2037875b9a4456dce4a79d112a8ae885bbc4aad968e6587dca6e64f3a0900cdf", - strip_prefix = "rules_cc-0.0.9", ) # The version of `rules_apple` loaded by gRPC is too old for Bazel 7. From 78d63f62796592041d408dc3c61e0e731829eb49 Mon Sep 17 00:00:00 2001 From: Scott Hart Date: Mon, 2 Dec 2024 12:51:40 -0500 Subject: [PATCH 2/2] updated checksum --- bazel/workspace0.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazel/workspace0.bzl b/bazel/workspace0.bzl index f1a6a35fcde78..7e9492ae194f3 100644 --- a/bazel/workspace0.bzl +++ b/bazel/workspace0.bzl @@ -73,7 +73,7 @@ def gl_cpp_workspace0(name = None): urls = [ "https://github.com/bazelbuild/rules_cc/releases/download/0.0.15/rules_cc-0.0.15.tar.gz", ], - sha256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + sha256 = "f4aadd8387f381033a9ad0500443a52a0cea5f8ad1ede4369d3c614eb7b2682e", strip_prefix = "rules_cc-0.0.15", )