aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/public
diff options
context:
space:
mode:
authorGravatar Alex Sergeev <alexander.sergeev@live.com>2017-12-15 08:59:53 -0800
committerGravatar Shanqing Cai <cais@google.com>2017-12-15 11:59:53 -0500
commit8d3bd70a547fa843ba3e3da6f1379c4fdd836f2b (patch)
tree06d0d37f26042ac0424b9be88d5994a66b55c51e /tensorflow/core/public
parent798fa36d11119e6fdc13b90a14abfe1805e7de90 (diff)
Support --config=monolithic in tf.sysconfig.get_link_flags() (#15139)
* Don't add -ltensorflow_framework to sysconfig LFLAGS if the build is monolithic
Diffstat (limited to 'tensorflow/core/public')
-rw-r--r--tensorflow/core/public/version.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/core/public/version.h b/tensorflow/core/public/version.h
index ec077c4283..d8e7df48c2 100644
--- a/tensorflow/core/public/version.h
+++ b/tensorflow/core/public/version.h
@@ -119,5 +119,7 @@ extern const char* tf_compiler_version();
extern const char* tf_git_version();
// Value of the _GLIBCXX_USE_CXX11_ABI flag, or 0 if it's not set.
extern const int tf_cxx11_abi_flag();
+// Returns 1 if build is monolithic, or 0 otherwise.
+extern const int tf_monolithic_build();
#endif // TENSORFLOW_CORE_PUBLIC_VERSION_H_