aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/BUILD
diff options
context:
space:
mode:
authorGravatar Guangda Lai <laigd@google.com>2018-08-21 11:15:35 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-21 11:19:03 -0700
commita3f3949d82c28a6518c12ebb24cfdaf2367aac2d (patch)
tree806e27f0c5035977903c6f26988773fd967ecfe3 /tensorflow/contrib/BUILD
parent0d4212397d2d6322d9dbd67eef0858878a0b5cc3 (diff)
Reorder the contrib_py dependencies so that tensorrt appear before tflite.
PiperOrigin-RevId: 209627240
Diffstat (limited to 'tensorflow/contrib/BUILD')
-rw-r--r--tensorflow/contrib/BUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/tensorflow/contrib/BUILD b/tensorflow/contrib/BUILD
index f7e3c8d8fb..222e66cebe 100644
--- a/tensorflow/contrib/BUILD
+++ b/tensorflow/contrib/BUILD
@@ -20,7 +20,13 @@ py_library(
),
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
- deps = [
+ deps = if_not_windows([
+ # TODO(aaroey): tensorrt dependency has to appear before tflite so the
+ # build can resolve its flatbuffers symbols within the tensorrt library.
+ # This is an issue with the tensorrt static library and will be fixed by
+ # the next tensorrt release, so fix the order here after that.
+ "//tensorflow/contrib/tensorrt:init_py", # doesn't compile on windows
+ ]) + [
"//tensorflow/contrib/all_reduce",
"//tensorflow/contrib/batching:batch_py",
"//tensorflow/contrib/bayesflow:bayesflow_py",
@@ -131,11 +137,6 @@ py_library(
"//tensorflow/contrib/bigtable", # depends on bigtable
"//tensorflow/contrib/cloud:cloud_py", # doesn't compile on Windows
"//tensorflow/contrib/ffmpeg:ffmpeg_ops_py",
- # TODO(aaroey): tensorrt dependency has to appear before tflite so the
- # build can resolve its flatbuffers symbols within the tensorrt library.
- # This is an issue with the tensorrt static library and will be fixed by
- # the next tensorrt release, so fix the order here after that.
- "//tensorflow/contrib/tensorrt:init_py", # doesn't compile on windows
]),
)