Skip to content

Commit

Permalink
changing LICENSE.TXT to LICENSE.txt for rocprim_archive
Browse files Browse the repository at this point in the history
The actual filename in the rocprim archive is LICENSE.txt (lowecase extension).
Updating the TF BUILD files to correct the name.

This change is needed to fix the broken `--config=rocm` build (post PR 26722 merge)
  • Loading branch information
deven-amd committed Apr 24, 2019
1 parent caf27f4 commit d48421b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tensorflow/tools/lib_package/BUILD
Expand Up @@ -198,7 +198,7 @@ genrule(
"@grpc//third_party/address_sorting:LICENSE",
],
) + if_rocm([
"@rocprim_archive//:LICENSE.TXT",
"@rocprim_archive//:LICENSE.txt",
]) + tf_additional_license_deps(),
outs = ["include/tensorflow/c/LICENSE"],
cmd = "$(location :concat_licenses.sh) $(SRCS) >$@",
Expand Down Expand Up @@ -265,7 +265,7 @@ genrule(
"//third_party/mkl:LICENSE",
"//third_party/mkl_dnn:LICENSE",
]) + if_rocm([
"@rocprim_archive//:LICENSE.TXT",
"@rocprim_archive//:LICENSE.txt",
]) + tf_additional_license_deps(),
outs = ["include/tensorflow/jni/LICENSE"],
cmd = "$(location :concat_licenses.sh) $(SRCS) >$@",
Expand Down
2 changes: 1 addition & 1 deletion tensorflow/tools/pip_package/BUILD
Expand Up @@ -244,7 +244,7 @@ filegroup(
"@nlohmann_json_lib//:LICENSE.MIT",
"@tbb//:LICENSE",
]) + if_rocm([
"@rocprim_archive//:LICENSE.TXT",
"@rocprim_archive//:LICENSE.txt",
]) + tf_additional_license_deps(),
)

Expand Down
2 changes: 1 addition & 1 deletion third_party/rocprim.BUILD
Expand Up @@ -2,7 +2,7 @@

licenses(["notice"]) # BSD

exports_files(["LICENSE.TXT"])
exports_files(["LICENSE.txt"])

load("@local_config_rocm//rocm:build_defs.bzl", "if_rocm", "rocm_default_copts")

Expand Down

0 comments on commit d48421b

Please sign in to comment.