aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tensorflow.bzl
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-07-24 09:38:26 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-24 09:46:49 -0700
commitf8bbd3ceb7e86b7595ba74a9a03cfc7c1be252a8 (patch)
tree9c6969707e27cd5c04b253583ec9493acd0e6740 /tensorflow/tensorflow.bzl
parent00f9eb9c589ad3c5ce5b4dde84763553c56ad0ee (diff)
A subsequent improvement to the creation of a config option to not link LGPL, including fix for the Android/Apple version of code (C++ macros-es fix)
PiperOrigin-RevId: 205842327
Diffstat (limited to 'tensorflow/tensorflow.bzl')
-rw-r--r--tensorflow/tensorflow.bzl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/tensorflow.bzl b/tensorflow/tensorflow.bzl
index 26970c8cb0..340d3f393c 100644
--- a/tensorflow/tensorflow.bzl
+++ b/tensorflow/tensorflow.bzl
@@ -244,6 +244,7 @@ def tf_copts(android_optimization_level_override="-O2", is_external=False):
clean_dep("//tensorflow:windows"): get_win_copts(is_external),
clean_dep("//tensorflow:windows_msvc"): get_win_copts(is_external),
clean_dep("//tensorflow:ios"): ["-std=c++11"],
+ clean_dep("//tensorflow:no_lgpl_deps"): ["-D__TENSORFLOW_NO_LGPL_DEPS__", "-pthread"],
"//conditions:default": ["-pthread"]
}))