diff options
Diffstat (limited to 'tensorflow/BUILD')
-rw-r--r-- | tensorflow/BUILD | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tensorflow/BUILD b/tensorflow/BUILD index a6f782ba3d..3610eea42a 100644 --- a/tensorflow/BUILD +++ b/tensorflow/BUILD @@ -630,6 +630,14 @@ genrule( continue fi + if [[ $${d} == external* ]]; then + extname="$${d#*external/}" + extname="$${extname%%/*}" + if [[ $${TF_SYSTEM_LIBS:-} == *$${extname}* ]]; then + continue + fi + fi + mkdir -p "$@/$${d}" cp "$${f}" "$@/$${d}/" done |