forked from tensorflow/minigo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
63 lines (50 loc) · 2.02 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
http_archive(
name = "com_google_protobuf",
strip_prefix = "protobuf-3.6.1",
url = "https://github.com/google/protobuf/archive/v3.6.1.tar.gz",
)
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-389ec3f906f018661a5308458d623d01f96d7b23",
urls = [
"https://mirror.bazel.build/github.com/abseil/abseil-cpp/archive/389ec3f906f018661a5308458d623d01f96d7b23.tar.gz",
"https://github.com/abseil/abseil-cpp/archive/389ec3f906f018661a5308458d623d01f96d7b23.tar.gz",
],
)
http_archive(
name = "com_github_googlecloudplatform_google_cloud_cpp",
strip_prefix = "google-cloud-cpp-0.4.0",
url = "https://github.com/GoogleCloudPlatform/google-cloud-cpp/archive/v0.4.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")