Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

Commit 76579fd

Browse files
authored
ci: use gRPC-1.26.x to workaround a known bug (#146)
Workaround grpc/grpc#21280 by compiling against a specific commit (without a tag) of the v1.26.x gRPC branch.
1 parent 62b961b commit 76579fd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

bazel/google_cloud_cpp_common_deps.bzl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,11 @@ def google_cloud_cpp_common_deps():
6565
if "com_github_grpc_grpc" not in native.existing_rules():
6666
http_archive(
6767
name = "com_github_grpc_grpc",
68-
strip_prefix = "grpc-1.26.0",
68+
strip_prefix = "grpc-78ace4cd5dfcc1f2eced44d22d752f103f377e7b",
6969
urls = [
70-
"https://github.com/grpc/grpc/archive/v1.26.0.tar.gz",
71-
"https://mirror.bazel.build/github.com/grpc/grpc/archive/v1.26.0.tar.gz",
70+
"https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz",
7271
],
73-
sha256 = "2fcb7f1ab160d6fd3aaade64520be3e5446fc4c6fa7ba6581afdc4e26094bd81",
72+
sha256 = "a2034a1c8127e35c0cc7b86c1b5ad6d8e79a62c5e133c379b8b22a78ba370015",
7473
)
7574

7675
# We use the cc_proto_library() rule from @com_google_protobuf, which

super/external/grpc.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ if (NOT TARGET grpc-project)
2323
# Give application developers a hook to configure the version and hash
2424
# downloaded from GitHub.
2525
set(GOOGLE_CLOUD_CPP_GRPC_URL
26-
"https://github.com/grpc/grpc/archive/v1.26.0.tar.gz")
26+
"https://github.com/grpc/grpc/archive/78ace4cd5dfcc1f2eced44d22d752f103f377e7b.tar.gz"
27+
)
2728
set(GOOGLE_CLOUD_CPP_GRPC_SHA256
28-
"2fcb7f1ab160d6fd3aaade64520be3e5446fc4c6fa7ba6581afdc4e26094bd81")
29+
"a2034a1c8127e35c0cc7b86c1b5ad6d8e79a62c5e133c379b8b22a78ba370015")
2930

3031
set_external_project_build_parallel_level(PARALLEL)
3132
set_external_project_vars()

0 commit comments

Comments
 (0)