1"""TensorFlow workspace initialization. Consult the WORKSPACE on how to use it."""
2
3load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4
5def workspace():
6    http_archive(
7        name = "io_bazel_rules_closure",
8        sha256 = "5b00383d08dd71f28503736db0500b6fb4dda47489ff5fc6bed42557c07c6ba9",
9        strip_prefix = "rules_closure-308b05b2419edb5c8ee0471b67a40403df940149",
10        urls = [
11            "https://storage.googleapis.com/mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz",
12            "https://github.com/bazelbuild/rules_closure/archive/308b05b2419edb5c8ee0471b67a40403df940149.tar.gz",  # 2019-06-13
13        ],
14    )
15
16    http_archive(
17        name = "tf_toolchains",
18        sha256 = "d60f9637c64829e92dac3f4477a2c45cdddb9946c5da0dd46db97765eb9de08e",
19        strip_prefix = "toolchains-1.1.5",
20        urls = [
21            "http://mirror.tensorflow.org/github.com/tensorflow/toolchains/archive/v1.1.5.tar.gz",
22            "https://github.com/tensorflow/toolchains/archive/v1.1.5.tar.gz",
23        ],
24    )
25
26# Alias so it can be loaded without assigning to a different symbol to prevent
27# shadowing previous loads and trigger a buildifier warning.
28tf_workspace3 = workspace
29