forked from mlcommons/training
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minigo updates for 0.7 (mlcommons#334)
* minigo updates for 0.7 * Delete CODE_OF_CONDUCT.md * Delete CONTRIBUTING.md
- Loading branch information
Showing
248 changed files
with
36,737 additions
and
2,930 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,49 @@ | ||
http_archive( | ||
name = "com_google_protobuf", | ||
strip_prefix = "protobuf-3.6.1", | ||
url = "https://github.com/google/protobuf/archive/v3.6.1.tar.gz", | ||
) | ||
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file") | ||
|
||
# These must be kept up to date with the rules from tensorflow/WORKSPACE. | ||
# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv | ||
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-666fc1266bccfd8e6eaaa084e7b42580bb8eb199", | ||
name = "io_bazel_rules_closure", | ||
sha256 = "5b00383d08dd71f28503736db0500b6fb4dda47489ff5fc6bed42557c07c6ba9", | ||
strip_prefix = "rules_closure-308b05b2419edb5c8ee0471b67a40403df940149", | ||
urls = [ | ||
"http://mirror.tensorflow.org/github.com/abseil/abseil-cpp/archive/666fc1266bccfd8e6eaaa084e7b42580bb8eb199.tar.gz", | ||
"https://github.com/abseil/abseil-cpp/archive/666fc1266bccfd8e6eaaa084e7b42580bb8eb199.tar.gz", | ||
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz", | ||
"https://github.com/bazelbuild/rules_closure/archive/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz", # 2019-06-13 | ||
], | ||
) | ||
|
||
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", | ||
name = "bazel_skylib", | ||
sha256 = "2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e", | ||
urls = ["https://github.com/bazelbuild/bazel-skylib/releases/download/0.8.0/bazel-skylib.0.8.0.tar.gz"], | ||
) | ||
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
# These must be kept up to date with the rules from tensorflow/WORKSPACE. | ||
|
||
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"], | ||
# This should also be kept up to date with the version used by Tensorflow. | ||
http_file( | ||
name = "com_github_nlohmann_json_single_header", | ||
sha256 = "63da6d1f22b2a7bb9e4ff7d6b255cf691a161ff49532dcc45d398a53e295835f", | ||
urls = [ | ||
"https://github.com/nlohmann/json/releases/download/v3.4.0/json.hpp", | ||
], | ||
) | ||
|
||
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 = "org_tensorflow", | ||
sha256 = "76abfd5045d1474500754566edd54ce4c386a1fbccf22a3a91d6832c6b7e90ad", | ||
strip_prefix = "tensorflow-1.15.0", | ||
urls = ["https://github.com/tensorflow/tensorflow/archive/v1.15.0.zip"], | ||
) | ||
|
||
http_archive( | ||
name = "com_google_googletest", | ||
strip_prefix = "googletest-master", | ||
urls = ["https://github.com/google/googletest/archive/master.zip"], | ||
name = "wtf", | ||
build_file = "//cc:wtf.BUILD", | ||
sha256 = "1837833cd159060f8bd6f6dd87edf854ed3135d07a6937b7e14b0efe70580d74", | ||
strip_prefix = "tracing-framework-fb639271fa3d56ed1372a792d74d257d4e0c235c", | ||
urls = ["https://github.com/google/tracing-framework/archive/fb639271fa3d56ed1372a792d74d257d4e0c235c.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") | ||
load("@org_tensorflow//tensorflow:workspace.bzl", "tf_workspace") | ||
|
||
tensorrt_configure(name = "local_config_tensorrt") | ||
tf_workspace() |
Oops, something went wrong.