-
Notifications
You must be signed in to change notification settings - Fork 97
/
WORKSPACE
70 lines (48 loc) · 1.53 KB
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
workspace(name = "reverb")
# To change to a version of protoc compatible with tensorflow:
# 1. Convert the required header version to a version string, e.g.:
# 3011004 => "3.11.4"
# 2. Calculate the sha256 of the binary:
# PROTOC_VERSION="3.11.4"
# curl -L "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip" | sha256sum
# 3. Update the two variables below.
#
PROTOC_VERSION = "21.0"
PROTOC_SHA256 = "a2a92003da7b8c0c08aab530a3c1967d377c2777723482adb9d2eb38c87a9d5f"
load(
"//reverb/cc/platform/default:repo.bzl",
"absl_deps",
"cc_tf_configure",
"github_apple_deps",
"github_grpc_deps",
"googletest_deps",
"protoc_deps",
"python_deps",
)
googletest_deps()
absl_deps()
# Note that the Python dependencies are not tracked by bazel here, but
# in setup.py.
github_apple_deps()
## Begin GRPC related deps
github_grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
load("@upb//bazel:workspace_deps.bzl", "upb_deps")
upb_deps()
load(
"@build_bazel_rules_apple//apple:repositories.bzl",
"apple_rules_dependencies",
)
apple_rules_dependencies()
load(
"@build_bazel_apple_support//lib:repositories.bzl",
"apple_support_dependencies",
)
apple_support_dependencies()
## End GRPC related deps
cc_tf_configure()
python_deps()
protoc_deps(version = PROTOC_VERSION, sha256 = PROTOC_SHA256)