aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/platform/sysconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/platform/sysconfig.py')
-rw-r--r--tensorflow/python/platform/sysconfig.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tensorflow/python/platform/sysconfig.py b/tensorflow/python/platform/sysconfig.py
index f6c4f2227f..5c50fa023d 100644
--- a/tensorflow/python/platform/sysconfig.py
+++ b/tensorflow/python/platform/sysconfig.py
@@ -29,9 +29,11 @@ import os.path as _os_path
from tensorflow.python.framework.versions import CXX11_ABI_FLAG as _CXX11_ABI_FLAG
from tensorflow.python.framework.versions import MONOLITHIC_BUILD as _MONOLITHIC_BUILD
from tensorflow.python.util.all_util import remove_undocumented
+from tensorflow.python.util.tf_export import tf_export
# pylint: disable=g-import-not-at-top
+@tf_export('sysconfig.get_include')
def get_include():
"""Get the directory containing the TensorFlow C++ header files.
@@ -46,6 +48,7 @@ def get_include():
return _os_path.join(_os_path.dirname(tf.__file__), 'include')
+@tf_export('sysconfig.get_lib')
def get_lib():
"""Get the directory containing the TensorFlow framework library.
@@ -56,6 +59,7 @@ def get_lib():
return _os_path.join(_os_path.dirname(tf.__file__))
+@tf_export('sysconfig.get_compile_flags')
def get_compile_flags():
"""Get the compilation flags for custom operators.
@@ -69,6 +73,7 @@ def get_compile_flags():
return flags
+@tf_export('sysconfig.get_link_flags')
def get_link_flags():
"""Get the link flags for custom operators.