aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/pip_package
diff options
context:
space:
mode:
authorGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-08 17:49:03 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-08 17:49:37 -0700
commit7df18e0e6f8629dd097a7b71845d9e13d926944a (patch)
tree427ccdcbef7831be91c6b30acb2f4cb56eb73e91 /tensorflow/tools/pip_package
parenta8aa908df4b18bcb597080a3c6f38e86e87c5587 (diff)
parentcb685b69f5b6e19ab6ffdccc9e3a693add1536b2 (diff)
Merge pull request #21378 from perfinion:licenses
PiperOrigin-RevId: 207975491
Diffstat (limited to 'tensorflow/tools/pip_package')
-rw-r--r--tensorflow/tools/pip_package/BUILD42
1 files changed, 33 insertions, 9 deletions
diff --git a/tensorflow/tools/pip_package/BUILD b/tensorflow/tools/pip_package/BUILD
index 06ee2307e5..ef7ae1aa25 100644
--- a/tensorflow/tools/pip_package/BUILD
+++ b/tensorflow/tools/pip_package/BUILD
@@ -131,13 +131,9 @@ filegroup(
"@absl_py//absl/flags:LICENSE",
"@arm_neon_2_x86_sse//:LICENSE",
"@astor_archive//:LICENSE",
- "@aws//:LICENSE",
"@boringssl//:LICENSE",
- "@com_github_googleapis_googleapis//:LICENSE",
- "@com_github_googlecloudplatform_google_cloud_cpp//:LICENSE",
"@com_google_absl//:LICENSE",
"@com_googlesource_code_re2//:LICENSE",
- "@cub_archive//:LICENSE.TXT",
"@curl//:COPYING",
"@double_conversion//:LICENSE",
"@eigen_archive//:COPYING.MPL2",
@@ -148,12 +144,8 @@ filegroup(
"@gemmlowp//:LICENSE",
"@gif_archive//:COPYING",
"@highwayhash//:LICENSE",
- "@jemalloc//:COPYING",
"@jpeg//:LICENSE.md",
- "@kafka//:LICENSE",
- "@libxsmm_archive//:LICENSE.md",
"@lmdb//:LICENSE",
- "@local_config_nccl//:LICENSE",
"@local_config_sycl//sycl:LICENSE.text",
"@nasm//:LICENSE",
"@nsync//:LICENSE",
@@ -166,7 +158,39 @@ filegroup(
"@termcolor_archive//:COPYING.txt",
"@zlib_archive//:zlib.h",
"@org_python_pypi_backports_weakref//:LICENSE",
- ] + if_mkl([
+ ] + select({
+ "//tensorflow:with_aws_support": [
+ "@aws//:LICENSE",
+ ],
+ "//conditions:default": [],
+ }) + select({
+ "//tensorflow:with_gcp_support": [
+ "@com_github_googleapis_googleapis//:LICENSE",
+ "@com_github_googlecloudplatform_google_cloud_cpp//:LICENSE",
+ ],
+ "//conditions:default": [],
+ }) + select({
+ "//tensorflow:with_jemalloc_linux_x86_64": [
+ "@jemalloc//:COPYING",
+ ],
+ "//tensorflow:with_jemalloc_linux_ppc64le": [
+ "@jemalloc//:COPYING",
+ ],
+ "//conditions:default": [],
+ }) + select({
+ "//tensorflow:with_kafka_support": [
+ "@kafka//:LICENSE",
+ ],
+ "//conditions:default": [],
+ }) + select({
+ "//tensorflow/core/kernels:xsmm": [
+ "@libxsmm_archive//:LICENSE.md",
+ ],
+ "//conditions:default": [],
+ }) + if_cuda([
+ "@cub_archive//:LICENSE.TXT",
+ "@local_config_nccl//:LICENSE",
+ ]) + if_mkl([
"//third_party/mkl:LICENSE",
"//third_party/mkl_dnn:LICENSE",
]) + if_not_system_lib(