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(