WORKSPACE 1.03 KB
Newer Older
1
local_repository(
2
  name = "org_tensorflow",
3
  path = "tensorflow",
4
5
)

Ivan Bogatyy's avatar
Ivan Bogatyy committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# We need to pull in @io_bazel_rules_closure for TensorFlow. Bazel design
# documentation states that this verbosity is intentional, to prevent
# TensorFlow/SyntaxNet from depending on different versions of
# @io_bazel_rules_closure.
http_archive(
    name = "io_bazel_rules_closure",
    sha256 = "60fc6977908f999b23ca65698c2bb70213403824a84f7904310b6000d78be9ce",
    strip_prefix = "rules_closure-5ca1dab6df9ad02050f7ba4e816407f88690cf7d",
    urls = [
        "http://bazel-mirror.storage.googleapis.com/github.com/bazelbuild/rules_closure/archive/5ca1dab6df9ad02050f7ba4e816407f88690cf7d.tar.gz",  # 2017-02-03
        "https://github.com/bazelbuild/rules_closure/archive/5ca1dab6df9ad02050f7ba4e816407f88690cf7d.tar.gz",
    ],
)

20
load("@org_tensorflow//tensorflow:workspace.bzl", "tf_workspace")
21
tf_workspace(path_prefix="", tf_repo_name="org_tensorflow")
22

Ivan Bogatyy's avatar
Ivan Bogatyy committed
23
24
# Test that Bazel is up-to-date.
load("@org_tensorflow//tensorflow:workspace.bzl", "check_version")
Ivan Bogatyy's avatar
Ivan Bogatyy committed
25
check_version("0.4.2")