Skip to content

Commit 9cbc638

Browse files
committed
feat(build): update gRPC dependency to Apollo 8.0 specific package
- Update SHA256 checksum for gRPC archive (2378b608557a4331c6a6a97f89a9257aee2f8e56a095ce6619eea62e288fcfbe) - Switch download source to Apollo 8.0 dedicated package (https://apollo-system.cdn.bcebos.com/archive/8.0/v1.30.0-apollo.tar.gz) - Remove original GitHub source URL to align with internal dependency policy - Keep existing patch path (//third_party/absl:grpc.patch) unchanged This change ensures compatibility with Apollo Platform 8.0 infrastructure and centralized dependency management.
1 parent 7164dd6 commit 9cbc638

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

WORKSPACE

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,23 @@ http_archive(
7373

7474
# load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
7575
# grpc
76+
# http_archive(
77+
# name = "com_github_grpc_grpc",
78+
# sha256 = "419dba362eaf8f1d36849ceee17c3e2ff8ff12ac666b42d3ff02a164ebe090e9",
79+
# patches = ["//third_party/absl:grpc.patch"],
80+
# strip_prefix = "grpc-1.30.0",
81+
# urls = [
82+
# "https://apollo-system.cdn.bcebos.com/archive/6.0/v1.30.0.tar.gz",
83+
# "https://github.com/grpc/grpc/archive/v1.30.0.tar.gz",
84+
# ],
85+
# )
7686
http_archive(
7787
name = "com_github_grpc_grpc",
78-
sha256 = "419dba362eaf8f1d36849ceee17c3e2ff8ff12ac666b42d3ff02a164ebe090e9",
88+
sha256 = "2378b608557a4331c6a6a97f89a9257aee2f8e56a095ce6619eea62e288fcfbe",
7989
patches = ["//third_party/absl:grpc.patch"],
8090
strip_prefix = "grpc-1.30.0",
8191
urls = [
82-
"https://apollo-system.cdn.bcebos.com/archive/6.0/v1.30.0.tar.gz",
83-
"https://github.com/grpc/grpc/archive/v1.30.0.tar.gz",
92+
"https://apollo-system.cdn.bcebos.com/archive/8.0/v1.30.0-apollo.tar.gz",
8493
],
8594
)
8695
http_archive(
@@ -100,4 +109,4 @@ grpc_deps()
100109

101110
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
102111

103-
grpc_extra_deps()
112+
grpc_extra_deps()

0 commit comments

Comments
 (0)