diff options
author | Gunhan Gulsoy <gunan@google.com> | 2018-09-21 15:50:26 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-09-21 16:05:14 -0700 |
commit | adb742eba146478c3cee86d7b366e3faf121f6bd (patch) | |
tree | f4ad0f124e6248e48dff2ac809d4ade0b12afc0c /tensorflow/contrib/BUILD | |
parent | 64577d4fe51246710fbf2c9ebc17bed2febe6694 (diff) |
Exclude cloud contrib modules in s390x and windows.
Fixes #20502
PiperOrigin-RevId: 214057093
Diffstat (limited to 'tensorflow/contrib/BUILD')
-rw-r--r-- | tensorflow/contrib/BUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/tensorflow/contrib/BUILD b/tensorflow/contrib/BUILD index e1af52cd96..ae5ca32bcf 100644 --- a/tensorflow/contrib/BUILD +++ b/tensorflow/contrib/BUILD @@ -126,11 +126,16 @@ py_library( }) + if_not_windows_cuda([ "//tensorflow/contrib/fused_conv:fused_conv_py", # unresolved symbols, need to export more symbols ]) + if_not_windows([ - "//tensorflow/contrib/bigtable", # depends on bigtable - "//tensorflow/contrib/cloud:cloud_py", # doesn't compile on Windows - "//tensorflow/contrib/tensorrt:init_py", # doesn't compile on windows - "//tensorflow/contrib/ffmpeg:ffmpeg_ops_py", - ]), + ]) + select({ + "//tensorflow:linux_s390x": [], + "//tensorflow:windows": [], + "//conditions:default": [ + "//tensorflow/contrib/bigtable", + "//tensorflow/contrib/cloud:cloud_py", + "//tensorflow/contrib/tensorrt:init_py", + "//tensorflow/contrib/ffmpeg:ffmpeg_ops_py", + ], + }), ) cc_library( |