forked from tensorflow/minigo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
54 lines (42 loc) · 1.73 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
http_archive(
name = "com_github_gflags_gflags",
strip_prefix = "gflags-e292e0452fcfd5a8ae055b59052fc041cbab4abf",
urls = ["https://github.com/gflags/gflags/archive/e292e0452fcfd5a8ae055b59052fc041cbab4abf.zip"],
)
http_archive(
name = "com_google_absl",
strip_prefix = "abseil-cpp-5441bbe1db5d0f2ca24b5b60166367b0966790af",
urls = ["https://github.com/abseil/abseil-cpp/archive/5441bbe1db5d0f2ca24b5b60166367b0966790af.zip"],
)
http_archive(
name = "com_github_googlecloudplatform_google_cloud_cpp",
strip_prefix = "google-cloud-cpp-0.2.0",
url = "https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v0.2.0.zip",
)
new_http_archive(
name = "com_google_benchmark",
build_file = "cc/benchmark.BUILD",
strip_prefix = "benchmark-1.3.0",
urls = ["https://github.com/google/benchmark/archive/v1.3.0.zip"],
)
new_http_archive(
name = "com_github_nlohmann_json",
build_file = "cc/json.BUILD",
strip_prefix = "json-3.2.0",
urls = ["https://github.com/nlohmann/json/archive/v3.2.0.zip"],
)
http_archive(
name = "com_google_googletest",
strip_prefix = "googletest-master",
urls = ["https://github.com/google/googletest/archive/master.zip"],
)
load("@com_github_googlecloudplatform_google_cloud_cpp//bazel:google_cloud_cpp_deps.bzl", "google_cloud_cpp_deps")
google_cloud_cpp_deps()
# Have to manually call the corresponding function for gRPC:
# https://github.com/bazelbuild/bazel/issues/1550
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("//cc:cuda_configure.bzl", "cuda_configure")
load("//cc:tensorrt_configure.bzl", "tensorrt_configure")
cuda_configure(name = "local_config_cuda")
tensorrt_configure(name = "local_config_tensorrt")