diff options
author | Toby Boyd <tobyboyd@google.com> | 2018-07-16 17:04:48 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-07-16 17:10:20 -0700 |
commit | e4c0dbcab8b404949a67c282fe7cae89c5b4ad87 (patch) | |
tree | 9dcfa973b00efe08f02514ebc4ed77a62878e959 | |
parent | 8e27c65acffaa6a033faea0084669f86b012dcd1 (diff) |
internal change
PiperOrigin-RevId: 204832902
-rw-r--r-- | configure.py | 4 | ||||
-rw-r--r-- | third_party/nccl/nccl_configure.bzl | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/configure.py b/configure.py index cd9d5d32a0..10387493b0 100644 --- a/configure.py +++ b/configure.py @@ -1138,9 +1138,7 @@ def set_tf_nccl_install_path(environ_cp): nccl_lib_path = os.path.join(nccl_install_path, nccl_lib_path) nccl_hdr_path = os.path.join(nccl_install_path, 'include/nccl.h') - nccl_license_path = os.path.join(nccl_install_path, 'NCCL-SLA.txt') - if os.path.exists(nccl_lib_path) and os.path.exists( - nccl_hdr_path) and os.path.exists(nccl_license_path): + if os.path.exists(nccl_lib_path) and os.path.exists(nccl_hdr_path): # Set NCCL_INSTALL_PATH environ_cp['NCCL_INSTALL_PATH'] = nccl_install_path write_action_env_to_bazelrc('NCCL_INSTALL_PATH', nccl_install_path) diff --git a/third_party/nccl/nccl_configure.bzl b/third_party/nccl/nccl_configure.bzl index 9dfcb18369..5d1ebf0686 100644 --- a/third_party/nccl/nccl_configure.bzl +++ b/third_party/nccl/nccl_configure.bzl @@ -47,10 +47,10 @@ alias( ) """ +# Local build results in dynamic link and the license should not be included. _NCCL_LOCAL_BUILD_TEMPLATE = """ filegroup( name = "LICENSE", - data = ["nccl/NCCL-SLA.txt"], visibility = ["//visibility:public"], ) |