diff options
author | Manjunath Kudlur <keveman@gmail.com> | 2015-11-06 16:27:58 -0800 |
---|---|---|
committer | Manjunath Kudlur <keveman@gmail.com> | 2015-11-06 16:27:58 -0800 |
commit | f41959ccb2d9d4c722fe8fc3351401d53bcf4900 (patch) | |
tree | ef0ca22cb2a5ac4bdec9d080d8e0788a53ed496d /tensorflow/core/platform/default/build_config/BUILD |
TensorFlow: Initial commit of TensorFlow library.
TensorFlow is an open source software library for numerical computation
using data flow graphs.
Base CL: 107276108
Diffstat (limited to 'tensorflow/core/platform/default/build_config/BUILD')
-rw-r--r-- | tensorflow/core/platform/default/build_config/BUILD | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/tensorflow/core/platform/default/build_config/BUILD b/tensorflow/core/platform/default/build_config/BUILD new file mode 100644 index 0000000000..44dbc47ad1 --- /dev/null +++ b/tensorflow/core/platform/default/build_config/BUILD @@ -0,0 +1,85 @@ +# Description: +# Platform-specific build configurations. + +package(default_visibility = ["//tensorflow:internal"]) + +licenses(["notice"]) # Apache 2.0 + +exports_files(["LICENSE"]) + +load("/tensorflow/tensorflow", "tf_copts") +load("/tensorflow/tensorflow", "tf_cuda_library") + +cc_library( + name = "gtest", + testonly = 1, + copts = tf_copts(), + deps = [ + "//external:gtest", + ], +) + +cc_library( + name = "tensorflow_platform_specific", + copts = tf_copts(), + linkstatic = 1, + deps = [], +) + +tf_cuda_library( + name = "stream_executor", + deps = [ + "//tensorflow/stream_executor", + ], +) + +cc_library( + name = "platformlib", + copts = tf_copts(), + deps = [ + "@jpeg_archive//:jpeg", + "@png_archive//:png", + "@re2//:re2", + "//tensorflow/core:protos_cc", + ], +) + +cc_library( + name = "protos_cc", + copts = tf_copts(), + deps = [ + "//tensorflow/core:protos_all_cc", + ], +) + +cc_library( + name = "test_main", + testonly = 1, + linkstatic = 1, + deps = [], +) + +cc_library( + name = "cuda_runtime_extra", + linkstatic = 1, + deps = [], +) + +filegroup( + name = "android_proto_lib_portable_proto", + srcs = [], + visibility = ["//visibility:public"], +) + +cc_library( + name = "cuda", + data = [ + "//third_party/gpus/cuda:lib64/libcudart.so.7.0", + ], + linkopts = [ + "-Wl,-rpath,third_party/gpus/cuda/lib64", + ], + deps = [ + "//third_party/gpus/cuda:cudart", + ], +) |