aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/pywrap_tensorflow.py
diff options
context:
space:
mode:
authorGravatar Alex Sergeev <alexander.sergeev@live.com>2017-10-31 13:18:17 -0700
committerGravatar drpngx <drpngx@users.noreply.github.com>2017-10-31 13:18:17 -0700
commitf567ddf87d8d85e6cefa441283d20d52aac9f7fb (patch)
tree1337f81bc6f381f024352cd2d024ad87f988b3cb /tensorflow/python/pywrap_tensorflow.py
parente6faa845c51bb69465146d93646947fd2ba53efa (diff)
Add tf.sysconfig.get_compile_flags() & tf.sysconfig.get_link_flags() for custom operators (#13496)
* Add flags for custom op compilation * Move ABI logic into version_info.cc * Add #include <string> to be able to read _GLIBCXX_USE_CXX11_ABI value. * Make flags to be lists * Add _flag to cxx11_abi * Address review comment. * Move CXX import to the top level. * Add goldens update
Diffstat (limited to 'tensorflow/python/pywrap_tensorflow.py')
-rw-r--r--tensorflow/python/pywrap_tensorflow.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/python/pywrap_tensorflow.py b/tensorflow/python/pywrap_tensorflow.py
index 000ed8df8b..91373fa544 100644
--- a/tensorflow/python/pywrap_tensorflow.py
+++ b/tensorflow/python/pywrap_tensorflow.py
@@ -59,6 +59,7 @@ try:
from tensorflow.python.pywrap_tensorflow_internal import __version__
from tensorflow.python.pywrap_tensorflow_internal import __git_version__
from tensorflow.python.pywrap_tensorflow_internal import __compiler_version__
+ from tensorflow.python.pywrap_tensorflow_internal import __cxx11_abi_flag__
if _use_dlopen_global_flags:
pywrap_dlopen_global_flags.reset_dlopen_flags()