Fix sanity.

This commit is contained in:
Yifei Feng 2018-02-01 10:57:29 -08:00
parent 56663eedd7
commit ae805bd8ca
5 changed files with 20 additions and 5 deletions

View File

@ -523,9 +523,8 @@ do_check_file_name_test() {
}
# Supply all sanity step commands and descriptions
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")
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")
SANITY_STEPS=("do_pip_package_licenses_check")
SANITY_STEPS_DESC=("hihi")
INCREMENTAL_FLAG=""
DEFAULT_BAZEL_CONFIGS="--config=hdfs --config=gcp"

View File

@ -88,13 +88,23 @@ filegroup(
"//third_party/eigen3:LICENSE",
"//third_party/fft2d:LICENSE",
"//third_party/hadoop:LICENSE.txt",
"@absl_py//absl/flags:LICENSE",
"@arm_neon_2_x86_sse//:LICENSE",
"@astor_archive//:LICENSE",
"@aws//:LICENSE",
"@bazel_tools//third_party/def_parser:Copyright.txt",
"@bazel_tools//third_party/ijar:LICENSE",
"@bazel_tools//third_party/zlib:LICENSE.txt",
"@boringssl//:LICENSE",
"@com_google_absl//:LICENSE",
"@com_googlesource_code_re2//:LICENSE",
"@cub_archive//:LICENSE.TXT",
"@curl//:COPYING",
"@eigen_archive//:COPYING.MPL2",
"@farmhash_archive//:COPYING",
"@fft2d//:fft/readme.txt",
"@flatbuffers//:LICENSE.txt",
"@gast_archive//:LICENSE",
"@gemmlowp//:LICENSE",
"@gif_archive//:COPYING",
"@grpc//:LICENSE",
@ -105,11 +115,15 @@ filegroup(
"@lmdb//:LICENSE",
"@local_config_sycl//sycl:LICENSE.text",
"@grpc//third_party/nanopb:LICENSE.txt",
"@nasm//:LICENSE",
"@nsync//:LICENSE",
"@pcre//:LICENCE",
"@png_archive//:LICENSE",
"@protobuf_archive//:LICENSE",
"@six_archive//:LICENSE",
"@snappy//:COPYING",
"@swig//:LICENSE",
"@termcolor_archive//:COPYING.txt",
"@zlib_archive//:zlib.h",
"@org_python_pypi_backports_weakref//:LICENSE",
] + if_mkl([

View File

@ -4,6 +4,8 @@ package(
licenses(["notice"]) # Apache 2.0
exports_files(["LICENSE.txt"])
config_setting(
name = "freebsd",
values = {"cpu": "freebsd"},

View File

@ -1,6 +1,6 @@
licenses(["notice"]) # BSD
exports_files(["COPYING"])
exports_files(["LICENCE"])
cc_library(
name = "pcre",

View File

@ -3,7 +3,7 @@
licenses(["notice"]) # MIT
exports_files(["LICENSE"])
exports_files(["COPYING.txt"])
py_library(
name = "termcolor",