aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE12
1 files changed, 7 insertions, 5 deletions
diff --git a/WORKSPACE b/WORKSPACE
index 8c16fdee93..9d3622878c 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -1,5 +1,12 @@
workspace(name = "org_tensorflow")
+load("//tensorflow:workspace.bzl", "check_version", "tf_workspace")
+
+# We must check the bazel version before trying to parse any other BUILD files,
+# in case the parsing of those build files depends on the bazel version we
+# require here.
+check_version("0.4.2")
+
# Uncomment and update the paths in these entries to build the Android demo.
#android_sdk_repository(
# name = "androidsdk",
@@ -15,13 +22,8 @@ workspace(name = "org_tensorflow")
# api_level=21)
# Please add all new TensorFlow dependencies in workspace.bzl.
-load("//tensorflow:workspace.bzl", "tf_workspace")
tf_workspace()
-# Specify the minimum required bazel version.
-load("//tensorflow:tensorflow.bzl", "check_version")
-check_version("0.4.2")
-
new_http_archive(
name = "inception5h",
build_file = "models.BUILD",