forked from tensorflow/deepmath
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
36 lines (28 loc) · 1.27 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
workspace(name = "deepmath")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
local_repository(
name = "org_tensorflow",
path = "tensorflow",
)
local_repository(
name = "org_fold",
path = "fold",
)
# Borrowed from TensorFlow Serving.
# TODO(geoffreyi): Remove once TensorFlow handles this internally.
# TensorFlow depends on "io_bazel_rules_closure" so we need this here.
# Needs to be kept in sync with the same target in TensorFlow's WORKSPACE file.
http_archive(
name = "io_bazel_rules_closure",
sha256 = "43c9b882fa921923bcba764453f4058d102bece35a37c9f6383c713004aacff1",
strip_prefix = "rules_closure-9889e2348259a5aad7e805547c1a0cf311cfcd91",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/9889e2348259a5aad7e805547c1a0cf311cfcd91.tar.gz",
"https://github.com/bazelbuild/rules_closure/archive/9889e2348259a5aad7e805547c1a0cf311cfcd91.tar.gz", # 2018-12-21
],
)
load("@org_tensorflow//tensorflow:workspace.bzl", "tf_workspace")
tf_workspace(tf_repo_name = "org_tensorflow")
# Bazel version 0.4.3 produces obscure errors for TensorFlow's dependencies
load("@org_tensorflow//tensorflow:version_check.bzl", "check_bazel_version_at_least")
check_bazel_version_at_least("0.19.0")