@@ -696,6 +696,7 @@ tf_cc_shared_object(
696
696
per_os_targets = True ,
697
697
soversion = VERSION ,
698
698
visibility = ["//visibility:public" ],
699
+ linkstatic = 1 ,
699
700
# add win_def_file for tensorflow_cc
700
701
win_def_file = select ({
701
702
# We need this DEF file to properly export symbols on Windows
@@ -718,6 +719,21 @@ tf_cc_shared_object(
718
719
"//tensorflow/contrib/tensor_forest:model_ops_lib" ,
719
720
"//tensorflow/contrib/tensor_forest:forest_proto_impl" ,
720
721
"//tensorflow/contrib/tensor_forest/kernels/v4:decision-tree-resource_impl" ,
722
+ "//tensorflow/core:lib" ,
723
+ "//tensorflow/core:lib_internal" ,
724
+ "//tensorflow/core:lib_internal_impl" ,
725
+ "//tensorflow/core:core_cpu_impl" ,
726
+ "//tensorflow/core:framework_internal" ,
727
+ "//tensorflow/core:framework_internal_impl" ,
728
+ "//tensorflow/core:gpu_runtime_impl" ,
729
+ "//tensorflow/cc/saved_model:loader" ,
730
+ "//tensorflow/cc/saved_model:loader_lite" ,
731
+ "//tensorflow/cc/saved_model:loader_lite_impl" ,
732
+ "//tensorflow/stream_executor:dnn_proto_cc" ,
733
+ "//tensorflow/stream_executor:dnn_proto_cc_impl" ,
734
+ "//tensorflow/core/platform:tensor_float_32_utils" ,
735
+ "//tensorflow/core/grappler/optimizers:custom_graph_optimizer_registry_impl" ,
736
+ "@nsync//:nsync_cpp" ,
721
737
] + if_ngraph (["@ngraph_tf//:ngraph_tf" ]),
722
738
)
723
739
0 commit comments