From 33bc0b978858bafa56cce5679dc41f4ab408b77c Mon Sep 17 00:00:00 2001 From: Anna R Date: Tue, 11 Dec 2018 16:20:16 -0800 Subject: [PATCH] Internal change. PiperOrigin-RevId: 225091038 --- third_party/gpus/crosstool/BUILD.tpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/third_party/gpus/crosstool/BUILD.tpl b/third_party/gpus/crosstool/BUILD.tpl index c8812fab337..1260b265abd 100644 --- a/third_party/gpus/crosstool/BUILD.tpl +++ b/third_party/gpus/crosstool/BUILD.tpl @@ -22,6 +22,7 @@ cc_toolchain_suite( "local|compiler": ":cc-compiler-local", "darwin|compiler": ":cc-compiler-darwin", "x64_windows|msvc-cl": ":cc-compiler-windows", + "x64_windows": ":cc-compiler-windows", }, ) @@ -41,6 +42,7 @@ cc_toolchain( # last on the command line and contain all shared libraries to link, so all # regular options will be left of them. supports_param_files = 1, + toolchain_identifier = "local_linux", ) cc_toolchain( @@ -55,6 +57,7 @@ cc_toolchain( static_runtime_libs = [":empty"], strip_files = ":empty", supports_param_files = 0, + toolchain_identifier = "local_darwin", ) cc_toolchain( @@ -69,6 +72,7 @@ cc_toolchain( static_runtime_libs = [":empty"], strip_files = ":empty", supports_param_files = 1, + toolchain_identifier = "local_windows", ) filegroup(