diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-07-24 09:38:26 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-07-24 09:46:49 -0700 |
commit | f8bbd3ceb7e86b7595ba74a9a03cfc7c1be252a8 (patch) | |
tree | 9c6969707e27cd5c04b253583ec9493acd0e6740 | |
parent | 00f9eb9c589ad3c5ce5b4dde84763553c56ad0ee (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
-rw-r--r-- | tensorflow/tensorflow.bzl | 1 |
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"] })) |