Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit 7f2d4a2

Browse files
authored
Build fix: grpc needs build_bazel_apple_support. (#371)
Update pin_deps also.
1 parent cad0d03 commit 7f2d4a2

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

WORKSPACE

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,20 @@ http_archive(
3939
urls = ["https://github.com/google/benchmark/archive/master.zip"],
4040
)
4141

42+
# Used by gRPC.
43+
http_archive(
44+
name = "build_bazel_apple_support",
45+
strip_prefix = "apple_support-master",
46+
urls = ["https://github.com/bazelbuild/apple_support/archive/master.zip"],
47+
)
48+
49+
load(
50+
"@build_bazel_apple_support//lib:repositories.bzl",
51+
"apple_support_dependencies",
52+
)
53+
54+
apple_support_dependencies()
55+
4256
# gRPC
4357
http_archive(
4458
name = "com_github_grpc_grpc",

tools/pin_deps.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,20 @@ def workspace_rule(self):
4949
commit, sha256)
5050

5151

52+
# grep -A1 http_archive\( WORKSPACE
5253
PROJECTS = [
5354
GitHubProject('com_google_absl', 'abseil', 'abseil-cpp'),
5455
GitHubProject('com_google_googletest', 'google', 'googletest'),
5556
GitHubProject('com_github_google_benchmark', 'google', 'benchmark'),
57+
GitHubProject('build_bazel_apple_support', 'bazelbuild', 'apple_support'),
5658
GitHubProject('com_github_grpc_grpc', 'grpc', 'grpc'),
5759
GitHubProject('com_github_jupp0r_prometheus_cpp', 'jupp0r', 'prometheus-cpp'),
5860
GitHubProject('com_github_curl', 'curl', 'curl'),
5961
GitHubProject('com_github_tencent_rapidjson', 'Tencent', 'rapidjson'),
6062
GitHubProject('com_google_googleapis', 'googleapis', 'googleapis'),
63+
# io_bazel_rules_go is pinned.
64+
GitHubProject('grpc_java', 'grpc', 'grpc-java'),
65+
GitHubProject('io_opencensus_proto', 'census-instrumentation', 'opencensus-proto'),
6166
]
6267

6368
for project in PROJECTS:

0 commit comments

Comments
 (0)