Reorder the contrib_py dependencies so that tensorrt appear before tflite.
PiperOrigin-RevId: 209627240
This commit is contained in:
parent
0d4212397d
commit
a3f3949d82
@ -20,7 +20,13 @@ py_library(
|
|||||||
),
|
),
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
visibility = ["//visibility:public"],
|
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/all_reduce",
|
||||||
"//tensorflow/contrib/batching:batch_py",
|
"//tensorflow/contrib/batching:batch_py",
|
||||||
"//tensorflow/contrib/bayesflow:bayesflow_py",
|
"//tensorflow/contrib/bayesflow:bayesflow_py",
|
||||||
@ -131,11 +137,6 @@ py_library(
|
|||||||
"//tensorflow/contrib/bigtable", # depends on bigtable
|
"//tensorflow/contrib/bigtable", # depends on bigtable
|
||||||
"//tensorflow/contrib/cloud:cloud_py", # doesn't compile on Windows
|
"//tensorflow/contrib/cloud:cloud_py", # doesn't compile on Windows
|
||||||
"//tensorflow/contrib/ffmpeg:ffmpeg_ops_py",
|
"//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
|
|
||||||
]),
|
]),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user