aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-05-01 05:55:07 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-05-01 07:08:51 -0700
commit2a1a0d729fb23ac8758fff64119503e8e3e7b94d (patch)
tree269dd4ddd9ed7e3409c8130501c78d2a14c24fe6 /third_party
parent3e06162307e34a574ef8a77b5c552a543c8797d3 (diff)
Removing unnecessary cuda:platform.bzl
Change: 154712918
Diffstat (limited to 'third_party')
-rw-r--r--third_party/gpus/cuda/BUILD.tpl2
-rw-r--r--third_party/gpus/cuda_configure.bzl13
2 files changed, 0 insertions, 15 deletions
diff --git a/third_party/gpus/cuda/BUILD.tpl b/third_party/gpus/cuda/BUILD.tpl
index 279c441255..f7610dd7a9 100644
--- a/third_party/gpus/cuda/BUILD.tpl
+++ b/third_party/gpus/cuda/BUILD.tpl
@@ -1,7 +1,5 @@
licenses(["restricted"]) # MPL2, portions GPL v3, LGPL v3, BSD-like
-load("@local_config_cuda//cuda:platform.bzl", "readlink_command")
-
package(default_visibility = ["//visibility:public"])
config_setting(
diff --git a/third_party/gpus/cuda_configure.bzl b/third_party/gpus/cuda_configure.bzl
index 87d6ec1a3b..0fef94cf9c 100644
--- a/third_party/gpus/cuda_configure.bzl
+++ b/third_party/gpus/cuda_configure.bzl
@@ -732,12 +732,6 @@ def _create_dummy_repository(repository_ctx):
"%{cuda_include_genrules}": '',
"%{cuda_headers}": '',
})
- _tpl(repository_ctx, "cuda:platform.bzl",
- {
- "%{cuda_version}": _DEFAULT_CUDA_VERSION,
- "%{cudnn_version}": _DEFAULT_CUDNN_VERSION,
- "%{platform}": cpu_value,
- })
# Create dummy files for the CUDA toolkit since they are still required by
# tensorflow/core/platform/default/build_config:cuda.
@@ -913,13 +907,6 @@ def _create_cuda_repository(repository_ctx):
"%{cuda_headers}": ('":cuda-include",\n' +
' ":cudnn-include",')
})
- _tpl(repository_ctx, "cuda:platform.bzl",
- {
- "%{cuda_version}": cuda_config.cuda_version,
- "%{cudnn_version}": cuda_config.cudnn_version,
- "%{platform}": cuda_config.cpu_value,
- })
-
# Set up crosstool/
_file(repository_ctx, "crosstool:BUILD")
cc = find_cc(repository_ctx)