Skip to content

Commit ae805bd

Browse files
committed
Fix sanity.
1 parent 56663ee commit ae805bd

File tree

5 files changed

+20
-5
lines changed

5 files changed

+20
-5
lines changed

tensorflow/tools/ci_build/ci_sanity.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,9 +523,8 @@ do_check_file_name_test() {
523523
}
524524

525525
# Supply all sanity step commands and descriptions
526-
SANITY_STEPS=("do_pylint PYTHON2" "do_pylint PYTHON3" "do_check_futures_test" "do_buildifier" "do_bazel_nobuild" "do_pip_package_licenses_check" "do_lib_package_licenses_check" "do_java_package_licenses_check" "do_pip_smoke_test" "do_check_load_py_test" "do_code_link_check" "do_cmake_python_sanity" "do_check_file_name_test")
527-
SANITY_STEPS_DESC=("Python 2 pylint" "Python 3 pylint" "Check that python files have certain __future__ imports" "buildifier check" "bazel nobuild" "pip: license check for external dependencies" "C library: license check for external dependencies" "Java Native Library: license check for external dependencies" "Pip Smoke Test: Checking py_test dependencies exist in pip package" "Check load py_test: Check that BUILD files with py_test target properly load py_test" "Code Link Check: Check there are no broken links" "Test entries in /tensorflow/contrib/cmake/python_{modules|protos|protos_cc}.txt for validity and consistency" "Check file names for cases")
528-
526+
SANITY_STEPS=("do_pip_package_licenses_check")
527+
SANITY_STEPS_DESC=("hihi")
529528
INCREMENTAL_FLAG=""
530529
DEFAULT_BAZEL_CONFIGS="--config=hdfs --config=gcp"
531530

tensorflow/tools/pip_package/BUILD

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,23 @@ filegroup(
8888
"//third_party/eigen3:LICENSE",
8989
"//third_party/fft2d:LICENSE",
9090
"//third_party/hadoop:LICENSE.txt",
91+
"@absl_py//absl/flags:LICENSE",
92+
"@arm_neon_2_x86_sse//:LICENSE",
93+
"@astor_archive//:LICENSE",
94+
"@aws//:LICENSE",
95+
"@bazel_tools//third_party/def_parser:Copyright.txt",
96+
"@bazel_tools//third_party/ijar:LICENSE",
97+
"@bazel_tools//third_party/zlib:LICENSE.txt",
9198
"@boringssl//:LICENSE",
99+
"@com_google_absl//:LICENSE",
92100
"@com_googlesource_code_re2//:LICENSE",
93101
"@cub_archive//:LICENSE.TXT",
94102
"@curl//:COPYING",
95103
"@eigen_archive//:COPYING.MPL2",
96104
"@farmhash_archive//:COPYING",
97105
"@fft2d//:fft/readme.txt",
106+
"@flatbuffers//:LICENSE.txt",
107+
"@gast_archive//:LICENSE",
98108
"@gemmlowp//:LICENSE",
99109
"@gif_archive//:COPYING",
100110
"@grpc//:LICENSE",
@@ -105,11 +115,15 @@ filegroup(
105115
"@lmdb//:LICENSE",
106116
"@local_config_sycl//sycl:LICENSE.text",
107117
"@grpc//third_party/nanopb:LICENSE.txt",
118+
"@nasm//:LICENSE",
108119
"@nsync//:LICENSE",
120+
"@pcre//:LICENCE",
109121
"@png_archive//:LICENSE",
110122
"@protobuf_archive//:LICENSE",
111123
"@six_archive//:LICENSE",
112124
"@snappy//:COPYING",
125+
"@swig//:LICENSE",
126+
"@termcolor_archive//:COPYING.txt",
113127
"@zlib_archive//:zlib.h",
114128
"@org_python_pypi_backports_weakref//:LICENSE",
115129
] + if_mkl([

third_party/flatbuffers/flatbuffers.BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ package(
44

55
licenses(["notice"]) # Apache 2.0
66

7+
exports_files(["LICENSE.txt"])
8+
79
config_setting(
810
name = "freebsd",
911
values = {"cpu": "freebsd"},

third_party/pcre.BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
licenses(["notice"]) # BSD
22

3-
exports_files(["COPYING"])
3+
exports_files(["LICENCE"])
44

55
cc_library(
66
name = "pcre",

third_party/termcolor.BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
licenses(["notice"]) # MIT
55

6-
exports_files(["LICENSE"])
6+
exports_files(["COPYING.txt"])
77

88
py_library(
99
name = "termcolor",

0 commit comments

Comments
 (0)