aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/repo.bzl
diff options
context:
space:
mode:
authorGravatar Justine Tunney <jart@google.com>2017-12-11 14:41:46 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-12-11 14:49:52 -0800
commitf86016ea29911d60643b0b606330ecbc792498d9 (patch)
tree80769fee52e2179f5cdd00a44700459d7857fe32 /third_party/repo.bzl
parent037f036b2c76ef363148276dce83b7dd1d79e878 (diff)
Fix definition of tflite_smartreply
PiperOrigin-RevId: 178675580
Diffstat (limited to 'third_party/repo.bzl')
-rw-r--r--third_party/repo.bzl7
1 files changed, 5 insertions, 2 deletions
diff --git a/third_party/repo.bzl b/third_party/repo.bzl
index d6e5dfced0..c29fef9629 100644
--- a/third_party/repo.bzl
+++ b/third_party/repo.bzl
@@ -67,8 +67,11 @@ def _tf_http_archive(ctx):
if ("mirror.bazel.build" not in ctx.attr.urls[0] or
(len(ctx.attr.urls) < 2 and
ctx.attr.name not in _SINGLE_URL_WHITELIST)):
- fail("tf_http_archive(urls) must have redundant URLs. The Bazel Mirror " +
- "URL must come first. Please note mirroring happens after merge")
+ fail("tf_http_archive(urls) must have redundant URLs. The " +
+ "mirror.bazel.build URL must be present and it must come first. " +
+ "Even if you don't have permission to mirror the file, please " +
+ "put the correctly formatted mirror URL there anyway, because " +
+ "someone will come along shortly thereafter and mirror the file.")
ctx.download_and_extract(
ctx.attr.urls,
"",