forked from google-deepmind/reverb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
67 lines (46 loc) · 1.48 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
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 = "3.9.0"
PROTOC_SHA256 = "15e395b648a1a6dda8fd66868824a396e9d3e89bc2c8648e3b9ab9801bea5d55"
load(
"//reverb/cc/platform/default:repo.bzl",
"absl_deps",
"cc_tf_configure",
"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.
## 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)