@ -14,12 +14,30 @@
# This becomes the BUILD file for @local_config_cc// under Windows.
# This becomes the BUILD file for @local_config_cc// under Windows.
load ( " @rules_cc//cc:defs.bzl " , " cc_library " , " cc_toolchain " , " cc_toolchain_suite " )
load ( " @rules_cc//cc:defs.bzl " , " cc_toolchain " , " cc_toolchain_suite " , " cc_library " )
load ( " :armeabi_cc_toolchain_config.bzl " , " armeabi_cc_toolchain_config " )
load ( " :windows_cc_toolchain_config.bzl " , " cc_toolchain_config " )
load ( " :windows_cc_toolchain_config.bzl " , " cc_toolchain_config " )
load ( " :armeabi_cc_toolchain_config.bzl " , " armeabi_cc_toolchain_config " )
package ( default_visibility = [ " //visibility:public " ] )
package ( default_visibility = [ " //visibility:public " ] )
cc_library ( name = " empty_lib " )
# Label flag for extra libraries to be linked into every binary.
# TODO(bazel-team): Support passing flag multiple times to build a list.
label_flag (
name = " link_extra_libs " ,
build_setting_default = " :empty_lib " ,
)
# The final extra library to be linked into every binary target. This collects
# the above flag, but may also include more libraries depending on config.
cc_library (
name = " link_extra_lib " ,
deps = [
" :link_extra_libs " ,
] ,
)
cc_library (
cc_library (
name = " malloc " ,
name = " malloc " ,
)
)
@ -31,17 +49,17 @@ filegroup(
filegroup (
filegroup (
name = " mingw_compiler_files " ,
name = " mingw_compiler_files " ,
srcs = [ " :builtin_include_directory_paths_mingw " ] ,
srcs = [ " :builtin_include_directory_paths_mingw " ]
)
)
filegroup (
filegroup (
name = " clangcl_compiler_files " ,
name = " clangcl_compiler_files " ,
srcs = [ " :builtin_include_directory_paths_clangcl " ] ,
srcs = [ " :builtin_include_directory_paths_clangcl " ]
)
)
filegroup (
filegroup (
name = " msvc_compiler_files " ,
name = " msvc_compiler_files " ,
srcs = [ " :builtin_include_directory_paths_msvc " ] ,
srcs = [ " :builtin_include_directory_paths_msvc " ]
)
)
# Hardcoded toolchain, legacy behaviour.
# Hardcoded toolchain, legacy behaviour.
@ -71,6 +89,8 @@ cc_toolchain_suite(
cc_toolchain (
cc_toolchain (
name = " cc-compiler-x64_windows_msys " ,
name = " cc-compiler-x64_windows_msys " ,
toolchain_identifier = " msys_x64 " ,
toolchain_config = " :msys_x64 " ,
all_files = " :empty " ,
all_files = " :empty " ,
ar_files = " :empty " ,
ar_files = " :empty " ,
as_files = " :mingw_compiler_files " ,
as_files = " :mingw_compiler_files " ,
@ -80,27 +100,20 @@ cc_toolchain(
objcopy_files = " :empty " ,
objcopy_files = " :empty " ,
strip_files = " :empty " ,
strip_files = " :empty " ,
supports_param_files = 1 ,
supports_param_files = 1 ,
toolchain_config = " :msys_x64 " ,
toolchain_identifier = " msys_x64 " ,
)
)
cc_toolchain_config (
cc_toolchain_config (
name = " msys_x64 " ,
name = " msys_x64 " ,
abi_libc_version = " local " ,
abi_version = " local " ,
compiler = " msys-gcc " ,
cpu = " x64_windows " ,
cpu = " x64_windows " ,
cxx_builtin_include_directories = [
compiler = " msys-gcc " ,
" c:/msys64/usr/ " ,
] ,
dbg_mode_debug_flag = " /DEBUG:FULL " ,
fastbuild_mode_debug_flag = " /DEBUG:FASTLINK " ,
host_system_name = " local " ,
host_system_name = " local " ,
target_libc = " msys " ,
target_system_name = " local " ,
target_system_name = " local " ,
tool_bin_path = " c:/msys64/usr/bin " ,
target_libc = " msys " ,
tool_paths = {
abi_version = " local " ,
" ar " : " c:/msys64/usr/bin/ar " ,
abi_libc_version = " local " ,
cxx_builtin_include_directories = [ " c:/msys64/usr/ " ,
] ,
tool_paths = { " ar " : " c:/msys64/usr/bin/ar " ,
" cpp " : " c:/msys64/usr/bin/cpp " ,
" cpp " : " c:/msys64/usr/bin/cpp " ,
" dwp " : " c:/msys64/usr/bin/dwp " ,
" dwp " : " c:/msys64/usr/bin/dwp " ,
" gcc " : " c:/msys64/usr/bin/gcc " ,
" gcc " : " c:/msys64/usr/bin/gcc " ,
@ -109,8 +122,10 @@ cc_toolchain_config(
" nm " : " c:/msys64/usr/bin/nm " ,
" nm " : " c:/msys64/usr/bin/nm " ,
" objcopy " : " c:/msys64/usr/bin/objcopy " ,
" objcopy " : " c:/msys64/usr/bin/objcopy " ,
" objdump " : " c:/msys64/usr/bin/objdump " ,
" objdump " : " c:/msys64/usr/bin/objdump " ,
" strip " : " c:/msys64/usr/bin/strip " ,
" strip " : " c:/msys64/usr/bin/strip " } ,
} ,
tool_bin_path = " c:/msys64/usr/bin " ,
dbg_mode_debug_flag = " /DEBUG:FULL " ,
fastbuild_mode_debug_flag = " /DEBUG:FASTLINK " ,
)
)
toolchain (
toolchain (
@ -130,6 +145,8 @@ toolchain(
cc_toolchain (
cc_toolchain (
name = " cc-compiler-x64_windows_mingw " ,
name = " cc-compiler-x64_windows_mingw " ,
toolchain_identifier = " msys_x64_mingw " ,
toolchain_config = " :msys_x64_mingw " ,
all_files = " :empty " ,
all_files = " :empty " ,
ar_files = " :empty " ,
ar_files = " :empty " ,
as_files = " :mingw_compiler_files " ,
as_files = " :mingw_compiler_files " ,
@ -139,27 +156,21 @@ cc_toolchain(
objcopy_files = " :empty " ,
objcopy_files = " :empty " ,
strip_files = " :empty " ,
strip_files = " :empty " ,
supports_param_files = 0 ,
supports_param_files = 0 ,
toolchain_config = " :msys_x64_mingw " ,
toolchain_identifier = " msys_x64_mingw " ,
)
)
cc_toolchain_config (
cc_toolchain_config (
name = " msys_x64_mingw " ,
name = " msys_x64_mingw " ,
abi_libc_version = " local " ,
abi_version = " local " ,
compiler = " mingw-gcc " ,
cpu = " x64_windows " ,
cpu = " x64_windows " ,
cxx_builtin_include_directories = [
compiler = " mingw-gcc " ,
" c:/msys64/mingw64/ " ,
] ,
dbg_mode_debug_flag = " /DEBUG:FULL " ,
fastbuild_mode_debug_flag = " /DEBUG:FASTLINK " ,
host_system_name = " local " ,
host_system_name = " local " ,
target_libc = " mingw " ,
target_system_name = " local " ,
target_system_name = " local " ,
target_libc = " mingw " ,
abi_version = " local " ,
abi_libc_version = " local " ,
tool_bin_path = " c:/msys64/mingw64/bin " ,
tool_bin_path = " c:/msys64/mingw64/bin " ,
tool_paths = {
cxx_builtin_include_directories = [ " c:/msys64/mingw64/ " ,
" ar " : " c:/msys64/mingw64/bin/ar " ,
] ,
tool_paths = { " ar " : " c:/msys64/mingw64/bin/ar " ,
" cpp " : " c:/msys64/mingw64/bin/cpp " ,
" cpp " : " c:/msys64/mingw64/bin/cpp " ,
" dwp " : " c:/msys64/mingw64/bin/dwp " ,
" dwp " : " c:/msys64/mingw64/bin/dwp " ,
" gcc " : " c:/msys64/mingw64/bin/gcc " ,
" gcc " : " c:/msys64/mingw64/bin/gcc " ,
@ -168,8 +179,9 @@ cc_toolchain_config(
" nm " : " c:/msys64/mingw64/bin/nm " ,
" nm " : " c:/msys64/mingw64/bin/nm " ,
" objcopy " : " c:/msys64/mingw64/bin/objcopy " ,
" objcopy " : " c:/msys64/mingw64/bin/objcopy " ,
" objdump " : " c:/msys64/mingw64/bin/objdump " ,
" objdump " : " c:/msys64/mingw64/bin/objdump " ,
" strip " : " c:/msys64/mingw64/bin/strip " ,
" strip " : " c:/msys64/mingw64/bin/strip " } ,
} ,
dbg_mode_debug_flag = " /DEBUG:FULL " ,
fastbuild_mode_debug_flag = " /DEBUG:FASTLINK " ,
)
)
toolchain (
toolchain (
@ -189,6 +201,8 @@ toolchain(
cc_toolchain (
cc_toolchain (
name = " cc-compiler-x64_windows " ,
name = " cc-compiler-x64_windows " ,
toolchain_identifier = " msvc_x64 " ,
toolchain_config = " :msvc_x64 " ,
all_files = " :empty " ,
all_files = " :empty " ,
ar_files = " :empty " ,
ar_files = " :empty " ,
as_files = " :msvc_compiler_files " ,
as_files = " :msvc_compiler_files " ,
@ -198,39 +212,32 @@ cc_toolchain(
objcopy_files = " :empty " ,
objcopy_files = " :empty " ,
strip_files = " :empty " ,
strip_files = " :empty " ,
supports_param_files = 1 ,
supports_param_files = 1 ,
toolchain_config = " :msvc_x64 " ,
toolchain_identifier = " msvc_x64 " ,
)
)
cc_toolchain_config (
cc_toolchain_config (
name = " msvc_x64 " ,
name = " msvc_x64 " ,
abi_libc_version = " local " ,
abi_version = " local " ,
archiver_flags = [ " /MACHINE:X64 " ] ,
compiler = " msvc-cl " ,
cpu = " x64_windows " ,
cpu = " x64_windows " ,
cxx_builtin_include_directories = [
compiler = " msvc-cl " ,
" C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ include " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ ucrt " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ shared " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ um " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ winrt " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ cppwinrt " ,
] ,
dbg_mode_debug_flag = " /DEBUG:FULL " ,
default_link_flags = [ " /MACHINE:X64 " ] ,
fastbuild_mode_debug_flag = " /DEBUG:FASTLINK " ,
host_system_name = " local " ,
host_system_name = " local " ,
msvc_cl_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe " ,
target_system_name = " local " ,
target_libc = " msvcrt " ,
abi_version = " local " ,
abi_libc_version = " local " ,
toolchain_identifier = " msvc_x64 " ,
msvc_env_tmp = " C: \\ Users \\ ContainerAdministrator \\ AppData \\ Local \\ Temp " ,
msvc_env_path = " C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ bin \\ HostX64 \\ x64;C: \\ VS \\ Common7 \\ IDE \\ VC \\ VCPackages;C: \\ VS \\ Common7 \\ IDE \\ CommonExtensions \\ Microsoft \\ TestWindow;C: \\ VS \\ Common7 \\ IDE \\ CommonExtensions \\ Microsoft \\ TeamFoundation \\ Team Explorer;C: \\ VS \\ MSBuild \\ Current \\ bin \\ Roslyn;C: \\ VS \\ Common7 \\ Tools \\ devinit;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ bin \\ 10.0.20348.0 \\ x64;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ bin \\ x64;C: \\ VS \\ \\ MSBuild \\ Current \\ Bin;C: \\ Windows \\ Microsoft.NET \\ Framework64 \\ v4.0.30319;C: \\ VS \\ Common7 \\ IDE \\ ;C: \\ VS \\ Common7 \\ Tools \\ ;;C: \\ Windows \\ system32 " ,
msvc_env_include = " C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ include;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ ucrt;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ shared;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ um;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ winrt;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ cppwinrt " ,
msvc_env_include = " C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ include;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ ucrt;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ shared;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ um;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ winrt;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ cppwinrt " ,
msvc_env_lib = " C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ lib \\ x64;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ lib \\ 10.0.20348.0 \\ ucrt \\ x64;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ lib \\ 10.0.20348.0 \\ um \\ x64 " ,
msvc_env_lib = " C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ lib \\ x64;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ lib \\ 10.0.20348.0 \\ ucrt \\ x64;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ lib \\ 10.0.20348.0 \\ um \\ x64 " ,
msvc_env_path = " C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ bin \\ HostX64 \\ x64;C: \\ VS \\ Common7 \\ IDE \\ VC \\ VCPackages;C: \\ VS \\ Common7 \\ IDE \\ CommonExtensions \\ Microsoft \\ TestWindow;C: \\ VS \\ Common7 \\ IDE \\ CommonExtensions \\ Microsoft \\ TeamFoundation \\ Team Explorer;C: \\ VS \\ MSBuild \\ Current \\ bin \\ Roslyn;C: \\ VS \\ Common7 \\ Tools \\ devinit;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ bin \\ 10.0.20348.0 \\ x64;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ bin \\ x64;C: \\ VS \\ \\ MSBuild \\ Current \\ Bin;C: \\ Windows \\ Microsoft.NET \\ Framework64 \\ v4.0.30319;C: \\ VS \\ Common7 \\ IDE \\ ;C: \\ VS \\ Common7 \\ Tools \\ ;;C: \\ Windows \\ system32 " ,
msvc_cl_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe " ,
msvc_env_tmp = " C: \\ Users \\ ContainerAdministrator \\ AppData \\ Local \\ Temp " ,
msvc_lib_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/lib.exe " ,
msvc_link_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/link.exe " ,
msvc_ml_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/ml64.exe " ,
msvc_ml_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/ml64.exe " ,
target_libc = " msvcrt " ,
msvc_link_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/link.exe " ,
target_system_name = " local " ,
msvc_lib_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/lib.exe " ,
cxx_builtin_include_directories = [ " C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ include " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ ucrt " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ shared " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ um " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ winrt " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ cppwinrt " ] ,
tool_paths = {
tool_paths = {
" ar " : " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/lib.exe " ,
" ar " : " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/lib.exe " ,
" ml " : " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/ml64.exe " ,
" ml " : " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/ml64.exe " ,
@ -243,7 +250,11 @@ cc_toolchain_config(
" objdump " : " wrapper/bin/msvc_nop.bat " ,
" objdump " : " wrapper/bin/msvc_nop.bat " ,
" strip " : " wrapper/bin/msvc_nop.bat " ,
" strip " : " wrapper/bin/msvc_nop.bat " ,
} ,
} ,
toolchain_identifier = " msvc_x64 " ,
archiver_flags = [ " /MACHINE:X64 " ] ,
default_link_flags = [ " /MACHINE:X64 " ] ,
dbg_mode_debug_flag = " /DEBUG:FULL " ,
fastbuild_mode_debug_flag = " /DEBUG:FASTLINK " ,
supports_parse_showincludes = True ,
)
)
toolchain (
toolchain (
@ -262,6 +273,8 @@ toolchain(
cc_toolchain (
cc_toolchain (
name = " cc-compiler-x64_x86_windows " ,
name = " cc-compiler-x64_x86_windows " ,
toolchain_identifier = " msvc_x64_x86 " ,
toolchain_config = " :msvc_x64_x86 " ,
all_files = " :empty " ,
all_files = " :empty " ,
ar_files = " :empty " ,
ar_files = " :empty " ,
as_files = " :msvc_compiler_files " ,
as_files = " :msvc_compiler_files " ,
@ -271,39 +284,32 @@ cc_toolchain(
objcopy_files = " :empty " ,
objcopy_files = " :empty " ,
strip_files = " :empty " ,
strip_files = " :empty " ,
supports_param_files = 1 ,
supports_param_files = 1 ,
toolchain_config = " :msvc_x64_x86 " ,
toolchain_identifier = " msvc_x64_x86 " ,
)
)
cc_toolchain_config (
cc_toolchain_config (
name = " msvc_x64_x86 " ,
name = " msvc_x64_x86 " ,
abi_libc_version = " local " ,
abi_version = " local " ,
archiver_flags = [ " /MACHINE:X86 " ] ,
compiler = " msvc-cl " ,
cpu = " x64_windows " ,
cpu = " x64_windows " ,
cxx_builtin_include_directories = [
compiler = " msvc-cl " ,
" C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ include " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ ucrt " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ shared " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ um " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ winrt " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ cppwinrt " ,
] ,
dbg_mode_debug_flag = " /DEBUG:FULL " ,
default_link_flags = [ " /MACHINE:X86 " ] ,
fastbuild_mode_debug_flag = " /DEBUG:FASTLINK " ,
host_system_name = " local " ,
host_system_name = " local " ,
msvc_cl_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x86/cl.exe " ,
target_system_name = " local " ,
target_libc = " msvcrt " ,
abi_version = " local " ,
abi_libc_version = " local " ,
toolchain_identifier = " msvc_x64_x86 " ,
msvc_env_tmp = " C: \\ Users \\ ContainerAdministrator \\ AppData \\ Local \\ Temp " ,
msvc_env_path = " C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ bin \\ HostX64 \\ x86;C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ bin \\ HostX64 \\ x64;C: \\ VS \\ Common7 \\ IDE \\ VC \\ VCPackages;C: \\ VS \\ Common7 \\ IDE \\ CommonExtensions \\ Microsoft \\ TestWindow;C: \\ VS \\ Common7 \\ IDE \\ CommonExtensions \\ Microsoft \\ TeamFoundation \\ Team Explorer;C: \\ VS \\ MSBuild \\ Current \\ bin \\ Roslyn;C: \\ VS \\ Common7 \\ Tools \\ devinit;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ bin \\ 10.0.20348.0 \\ x64;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ bin \\ x64;C: \\ VS \\ \\ MSBuild \\ Current \\ Bin;C: \\ Windows \\ Microsoft.NET \\ Framework64 \\ v4.0.30319;C: \\ VS \\ Common7 \\ IDE \\ ;C: \\ VS \\ Common7 \\ Tools \\ ;;C: \\ Windows \\ system32 " ,
msvc_env_include = " C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ include;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ ucrt;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ shared;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ um;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ winrt;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ cppwinrt " ,
msvc_env_include = " C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ include;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ ucrt;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ shared;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ um;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ winrt;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ cppwinrt " ,
msvc_env_lib = " C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ lib \\ x86;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ lib \\ 10.0.20348.0 \\ ucrt \\ x86;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ lib \\ 10.0.20348.0 \\ um \\ x86 " ,
msvc_env_lib = " C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ lib \\ x86;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ lib \\ 10.0.20348.0 \\ ucrt \\ x86;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ lib \\ 10.0.20348.0 \\ um \\ x86 " ,
msvc_env_path = " C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ bin \\ HostX64 \\ x86;C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ bin \\ HostX64 \\ x64;C: \\ VS \\ Common7 \\ IDE \\ VC \\ VCPackages;C: \\ VS \\ Common7 \\ IDE \\ CommonExtensions \\ Microsoft \\ TestWindow;C: \\ VS \\ Common7 \\ IDE \\ CommonExtensions \\ Microsoft \\ TeamFoundation \\ Team Explorer;C: \\ VS \\ MSBuild \\ Current \\ bin \\ Roslyn;C: \\ VS \\ Common7 \\ Tools \\ devinit;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ bin \\ 10.0.20348.0 \\ x64;C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ bin \\ x64;C: \\ VS \\ \\ MSBuild \\ Current \\ Bin;C: \\ Windows \\ Microsoft.NET \\ Framework64 \\ v4.0.30319;C: \\ VS \\ Common7 \\ IDE \\ ;C: \\ VS \\ Common7 \\ Tools \\ ;;C: \\ Windows \\ system32 " ,
msvc_cl_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x86/cl.exe " ,
msvc_env_tmp = " C: \\ Users \\ ContainerAdministrator \\ AppData \\ Local \\ Temp " ,
msvc_lib_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x86/lib.exe " ,
msvc_link_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x86/link.exe " ,
msvc_ml_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x86/ml.exe " ,
msvc_ml_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x86/ml.exe " ,
target_libc = " msvcrt " ,
msvc_link_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x86/link.exe " ,
target_system_name = " local " ,
msvc_lib_path = " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x86/lib.exe " ,
cxx_builtin_include_directories = [ " C: \\ VS \\ VC \\ Tools \\ MSVC \\ 14.29.30133 \\ include " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ ucrt " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ shared " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ um " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ winrt " ,
" C: \\ Program Files (x86) \\ Windows Kits \\ 10 \\ include \\ 10.0.20348.0 \\ cppwinrt " ] ,
tool_paths = {
tool_paths = {
" ar " : " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x86/lib.exe " ,
" ar " : " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x86/lib.exe " ,
" ml " : " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x86/ml.exe " ,
" ml " : " C:/VS/VC/Tools/MSVC/14.29.30133/bin/HostX64/x86/ml.exe " ,
@ -316,7 +322,11 @@ cc_toolchain_config(
" objdump " : " wrapper/bin/msvc_nop.bat " ,
" objdump " : " wrapper/bin/msvc_nop.bat " ,
" strip " : " wrapper/bin/msvc_nop.bat " ,
" strip " : " wrapper/bin/msvc_nop.bat " ,
} ,
} ,
toolchain_identifier = " msvc_x64_x86 " ,
archiver_flags = [ " /MACHINE:X86 " ] ,
default_link_flags = [ " /MACHINE:X86 " ] ,
dbg_mode_debug_flag = " /DEBUG:FULL " ,
fastbuild_mode_debug_flag = " /DEBUG:FASTLINK " ,
supports_parse_showincludes = True ,
)
)
toolchain (
toolchain (
@ -335,6 +345,8 @@ toolchain(
cc_toolchain (
cc_toolchain (
name = " cc-compiler-x64_arm_windows " ,
name = " cc-compiler-x64_arm_windows " ,
toolchain_identifier = " msvc_x64_arm " ,
toolchain_config = " :msvc_x64_arm " ,
all_files = " :empty " ,
all_files = " :empty " ,
ar_files = " :empty " ,
ar_files = " :empty " ,
as_files = " :msvc_compiler_files " ,
as_files = " :msvc_compiler_files " ,
@ -344,32 +356,27 @@ cc_toolchain(
objcopy_files = " :empty " ,
objcopy_files = " :empty " ,
strip_files = " :empty " ,
strip_files = " :empty " ,
supports_param_files = 1 ,
supports_param_files = 1 ,
toolchain_config = " :msvc_x64_arm " ,
toolchain_identifier = " msvc_x64_arm " ,
)
)
cc_toolchain_config (
cc_toolchain_config (
name = " msvc_x64_arm " ,
name = " msvc_x64_arm " ,
abi_libc_version = " local " ,
abi_version = " local " ,
archiver_flags = [ " /MACHINE:ARM " ] ,
compiler = " msvc-cl " ,
cpu = " x64_windows " ,
cpu = " x64_windows " ,
cxx_builtin_include_directories = [ ] ,
compiler = " msvc-cl " ,
dbg_mode_debug_flag = " /DEBUG " ,
default_link_flags = [ " /MACHINE:ARM " ] ,
fastbuild_mode_debug_flag = " /DEBUG " ,
host_system_name = " local " ,
host_system_name = " local " ,
msvc_cl_path = " vc_installation_error_arm.bat " ,
target_system_name = " local " ,
target_libc = " msvcrt " ,
abi_version = " local " ,
abi_libc_version = " local " ,
toolchain_identifier = " msvc_x64_arm " ,
msvc_env_tmp = " msvc_not_found " ,
msvc_env_path = " msvc_not_found " ,
msvc_env_include = " msvc_not_found " ,
msvc_env_include = " msvc_not_found " ,
msvc_env_lib = " msvc_not_found " ,
msvc_env_lib = " msvc_not_found " ,
msvc_env_path = " msvc_not_found " ,
msvc_cl_path = " vc_installation_error_arm.bat " ,
msvc_env_tmp = " msvc_not_found " ,
msvc_lib_path = " vc_installation_error_arm.bat " ,
msvc_link_path = " vc_installation_error_arm.bat " ,
msvc_ml_path = " vc_installation_error_arm.bat " ,
msvc_ml_path = " vc_installation_error_arm.bat " ,
target_libc = " msvcrt " ,
msvc_link_path = " vc_installation_error_arm.bat " ,
target_system_name = " local " ,
msvc_lib_path = " vc_installation_error_arm.bat " ,
cxx_builtin_include_directories = [ ] ,
tool_paths = {
tool_paths = {
" ar " : " vc_installation_error_arm.bat " ,
" ar " : " vc_installation_error_arm.bat " ,
" ml " : " vc_installation_error_arm.bat " ,
" ml " : " vc_installation_error_arm.bat " ,
@ -382,7 +389,11 @@ cc_toolchain_config(
" objdump " : " wrapper/bin/msvc_nop.bat " ,
" objdump " : " wrapper/bin/msvc_nop.bat " ,
" strip " : " wrapper/bin/msvc_nop.bat " ,
" strip " : " wrapper/bin/msvc_nop.bat " ,
} ,
} ,
toolchain_identifier = " msvc_x64_arm " ,
archiver_flags = [ " /MACHINE:ARM " ] ,
default_link_flags = [ " /MACHINE:ARM " ] ,
dbg_mode_debug_flag = " /DEBUG " ,
fastbuild_mode_debug_flag = " /DEBUG " ,
supports_parse_showincludes = False ,
)
)
toolchain (
toolchain (
@ -401,6 +412,8 @@ toolchain(
cc_toolchain (
cc_toolchain (
name = " cc-compiler-arm64_windows " ,
name = " cc-compiler-arm64_windows " ,
toolchain_identifier = " msvc_arm64 " ,
toolchain_config = " :msvc_arm64 " ,
all_files = " :empty " ,
all_files = " :empty " ,
ar_files = " :empty " ,
ar_files = " :empty " ,
as_files = " :msvc_compiler_files " ,
as_files = " :msvc_compiler_files " ,
@ -410,32 +423,27 @@ cc_toolchain(
objcopy_files = " :empty " ,
objcopy_files = " :empty " ,
strip_files = " :empty " ,
strip_files = " :empty " ,
supports_param_files = 1 ,
supports_param_files = 1 ,
toolchain_config = " :msvc_arm64 " ,
toolchain_identifier = " msvc_arm64 " ,
)
)
cc_toolchain_config (
cc_toolchain_config (
name = " msvc_arm64 " ,
name = " msvc_arm64 " ,
abi_libc_version = " local " ,
abi_version = " local " ,
archiver_flags = [ " /MACHINE:ARM64 " ] ,
compiler = " msvc-cl " ,
cpu = " x64_windows " ,
cpu = " x64_windows " ,
cxx_builtin_include_directories = [ ] ,
compiler = " msvc-cl " ,
dbg_mode_debug_flag = " /DEBUG " ,
default_link_flags = [ " /MACHINE:ARM64 " ] ,
fastbuild_mode_debug_flag = " /DEBUG " ,
host_system_name = " local " ,
host_system_name = " local " ,
msvc_cl_path = " vc_installation_error_arm64.bat " ,
target_system_name = " local " ,
target_libc = " msvcrt " ,
abi_version = " local " ,
abi_libc_version = " local " ,
toolchain_identifier = " msvc_arm64 " ,
msvc_env_tmp = " msvc_not_found " ,
msvc_env_path = " msvc_not_found " ,
msvc_env_include = " msvc_not_found " ,
msvc_env_include = " msvc_not_found " ,
msvc_env_lib = " msvc_not_found " ,
msvc_env_lib = " msvc_not_found " ,
msvc_env_path = " msvc_not_found " ,
msvc_cl_path = " vc_installation_error_arm64.bat " ,
msvc_env_tmp = " msvc_not_found " ,
msvc_lib_path = " vc_installation_error_arm64.bat " ,
msvc_link_path = " vc_installation_error_arm64.bat " ,
msvc_ml_path = " vc_installation_error_arm64.bat " ,
msvc_ml_path = " vc_installation_error_arm64.bat " ,
target_libc = " msvcrt " ,
msvc_link_path = " vc_installation_error_arm64.bat " ,
target_system_name = " local " ,
msvc_lib_path = " vc_installation_error_arm64.bat " ,
cxx_builtin_include_directories = [ ] ,
tool_paths = {
tool_paths = {
" ar " : " vc_installation_error_arm64.bat " ,
" ar " : " vc_installation_error_arm64.bat " ,
" ml " : " vc_installation_error_arm64.bat " ,
" ml " : " vc_installation_error_arm64.bat " ,
@ -448,7 +456,11 @@ cc_toolchain_config(
" objdump " : " wrapper/bin/msvc_nop.bat " ,
" objdump " : " wrapper/bin/msvc_nop.bat " ,
" strip " : " wrapper/bin/msvc_nop.bat " ,
" strip " : " wrapper/bin/msvc_nop.bat " ,
} ,
} ,
toolchain_identifier = " msvc_arm64 " ,
archiver_flags = [ " /MACHINE:ARM64 " ] ,
default_link_flags = [ " /MACHINE:ARM64 " ] ,
dbg_mode_debug_flag = " /DEBUG " ,
fastbuild_mode_debug_flag = " /DEBUG " ,
supports_parse_showincludes = False ,
)
)
toolchain (
toolchain (
@ -464,8 +476,11 @@ toolchain(
toolchain_type = " @bazel_tools//tools/cpp:toolchain_type " ,
toolchain_type = " @bazel_tools//tools/cpp:toolchain_type " ,
)
)
cc_toolchain (
cc_toolchain (
name = " cc-compiler-x64_windows-clang-cl " ,
name = " cc-compiler-x64_windows-clang-cl " ,
toolchain_identifier = " clang_cl_x64 " ,
toolchain_config = " :clang_cl_x64 " ,
all_files = " :empty " ,
all_files = " :empty " ,
ar_files = " :empty " ,
ar_files = " :empty " ,
as_files = " :clangcl_compiler_files " ,
as_files = " :clangcl_compiler_files " ,
@ -475,35 +490,27 @@ cc_toolchain(
objcopy_files = " :empty " ,
objcopy_files = " :empty " ,
strip_files = " :empty " ,
strip_files = " :empty " ,
supports_param_files = 1 ,
supports_param_files = 1 ,
toolchain_config = " :clang_cl_x64 " ,
toolchain_identifier = " clang_cl_x64 " ,
)
)
cc_toolchain_config (
cc_toolchain_config (
name = " clang_cl_x64 " ,
name = " clang_cl_x64 " ,
abi_libc_version = " local " ,
abi_version = " local " ,
archiver_flags = [ " /MACHINE:X64 " ] ,
compiler = " clang-cl " ,
cpu = " x64_windows " ,
cpu = " x64_windows " ,
cxx_builtin_include_directories = [ ] ,
compiler = " clang-cl " ,
dbg_mode_debug_flag = " /DEBUG " ,
default_link_flags = [
" /MACHINE:X64 " ,
" /DEFAULTLIB:clang_rt.builtins-x86_64.lib " ,
] ,
fastbuild_mode_debug_flag = " /DEBUG " ,
host_system_name = " local " ,
host_system_name = " local " ,
msvc_cl_path = " clang_installation_error.bat " ,
target_system_name = " local " ,
target_libc = " msvcrt " ,
abi_version = " local " ,
abi_libc_version = " local " ,
toolchain_identifier = " clang_cl_x64 " ,
msvc_env_tmp = " clang_cl_not_found " ,
msvc_env_path = " clang_cl_not_found " ,
msvc_env_include = " clang_cl_not_found " ,
msvc_env_include = " clang_cl_not_found " ,
msvc_env_lib = " clang_cl_not_found " ,
msvc_env_lib = " clang_cl_not_found " ,
msvc_env_path = " clang_cl_not_found " ,
msvc_cl_path = " clang_installation_error.bat " ,
msvc_env_tmp = " clang_cl_not_found " ,
msvc_lib_path = " clang_installation_error.bat " ,
msvc_link_path = " clang_installation_error.bat " ,
msvc_ml_path = " clang_installation_error.bat " ,
msvc_ml_path = " clang_installation_error.bat " ,
target_libc = " msvcrt " ,
msvc_link_path = " clang_installation_error.bat " ,
target_system_name = " local " ,
msvc_lib_path = " clang_installation_error.bat " ,
cxx_builtin_include_directories = [ ] ,
tool_paths = {
tool_paths = {
" ar " : " clang_installation_error.bat " ,
" ar " : " clang_installation_error.bat " ,
" ml " : " clang_installation_error.bat " ,
" ml " : " clang_installation_error.bat " ,
@ -516,7 +523,11 @@ cc_toolchain_config(
" objdump " : " wrapper/bin/msvc_nop.bat " ,
" objdump " : " wrapper/bin/msvc_nop.bat " ,
" strip " : " wrapper/bin/msvc_nop.bat " ,
" strip " : " wrapper/bin/msvc_nop.bat " ,
} ,
} ,
toolchain_identifier = " clang_cl_x64 " ,
archiver_flags = [ " /MACHINE:X64 " ] ,
default_link_flags = [ " /MACHINE:X64 " ] ,
dbg_mode_debug_flag = " /DEBUG " ,
fastbuild_mode_debug_flag = " /DEBUG " ,
supports_parse_showincludes = False ,
)
)
toolchain (
toolchain (
@ -536,6 +547,8 @@ toolchain(
cc_toolchain (
cc_toolchain (
name = " cc-compiler-arm64_windows-clang-cl " ,
name = " cc-compiler-arm64_windows-clang-cl " ,
toolchain_identifier = " clang_cl_arm64 " ,
toolchain_config = " :clang_cl_arm64 " ,
all_files = " :empty " ,
all_files = " :empty " ,
ar_files = " :empty " ,
ar_files = " :empty " ,
as_files = " :clangcl_compiler_files " ,
as_files = " :clangcl_compiler_files " ,
@ -545,32 +558,27 @@ cc_toolchain(
objcopy_files = " :empty " ,
objcopy_files = " :empty " ,
strip_files = " :empty " ,
strip_files = " :empty " ,
supports_param_files = 1 ,
supports_param_files = 1 ,
toolchain_config = " :clang_cl_arm64 " ,
toolchain_identifier = " clang_cl_arm64 " ,
)
)
cc_toolchain_config (
cc_toolchain_config (
name = " clang_cl_arm64 " ,
name = " clang_cl_arm64 " ,
abi_libc_version = " local " ,
abi_version = " local " ,
archiver_flags = [ " /MACHINE:ARM64 " ] ,
compiler = " clang-cl " ,
cpu = " arm64_windows " ,
cpu = " arm64_windows " ,
cxx_builtin_include_directories = [ ] ,
compiler = " clang-cl " ,
dbg_mode_debug_flag = " /DEBUG " ,
default_link_flags = [ " /MACHINE:ARM64 " ] ,
fastbuild_mode_debug_flag = " /DEBUG " ,
host_system_name = " local " ,
host_system_name = " local " ,
msvc_cl_path = " vc_installation_error_arm64.bat " ,
target_system_name = " aarch64-pc-windows-msvc " ,
target_libc = " msvcrt " ,
abi_version = " local " ,
abi_libc_version = " local " ,
toolchain_identifier = " clang_cl_arm64 " ,
msvc_env_tmp = " clang_cl_not_found " ,
msvc_env_path = " clang_cl_not_found " ,
msvc_env_include = " clang_cl_not_found " ,
msvc_env_include = " clang_cl_not_found " ,
msvc_env_lib = " clang_cl_not_found " ,
msvc_env_lib = " clang_cl_not_found " ,
msvc_env_path = " clang_cl_not_found " ,
msvc_cl_path = " vc_installation_error_arm64.bat " ,
msvc_env_tmp = " clang_cl_not_found " ,
msvc_lib_path = " vc_installation_error_arm64.bat " ,
msvc_link_path = " vc_installation_error_arm64.bat " ,
msvc_ml_path = " vc_installation_error_arm64.bat " ,
msvc_ml_path = " vc_installation_error_arm64.bat " ,
target_libc = " msvcrt " ,
msvc_link_path = " vc_installation_error_arm64.bat " ,
target_system_name = " aarch64-pc-windows-msvc " ,
msvc_lib_path = " vc_installation_error_arm64.bat " ,
cxx_builtin_include_directories = [ ] ,
tool_paths = {
tool_paths = {
" ar " : " vc_installation_error_arm64.bat " ,
" ar " : " vc_installation_error_arm64.bat " ,
" ml " : " vc_installation_error_arm64.bat " ,
" ml " : " vc_installation_error_arm64.bat " ,
@ -583,7 +591,11 @@ cc_toolchain_config(
" objdump " : " wrapper/bin/msvc_nop.bat " ,
" objdump " : " wrapper/bin/msvc_nop.bat " ,
" strip " : " wrapper/bin/msvc_nop.bat " ,
" strip " : " wrapper/bin/msvc_nop.bat " ,
} ,
} ,
toolchain_identifier = " clang_cl_arm64 " ,
archiver_flags = [ " /MACHINE:ARM64 " ] ,
default_link_flags = [ " /MACHINE:ARM64 " ] ,
dbg_mode_debug_flag = " /DEBUG " ,
fastbuild_mode_debug_flag = " /DEBUG " ,
supports_parse_showincludes = False ,
)
)
toolchain (
toolchain (
@ -602,6 +614,8 @@ toolchain(
cc_toolchain (
cc_toolchain (
name = " cc-compiler-armeabi-v7a " ,
name = " cc-compiler-armeabi-v7a " ,
toolchain_identifier = " stub_armeabi-v7a " ,
toolchain_config = " :stub_armeabi-v7a " ,
all_files = " :empty " ,
all_files = " :empty " ,
ar_files = " :empty " ,
ar_files = " :empty " ,
as_files = " :empty " ,
as_files = " :empty " ,
@ -611,8 +625,6 @@ cc_toolchain(
objcopy_files = " :empty " ,
objcopy_files = " :empty " ,
strip_files = " :empty " ,
strip_files = " :empty " ,
supports_param_files = 1 ,
supports_param_files = 1 ,
toolchain_config = " :stub_armeabi-v7a " ,
toolchain_identifier = " stub_armeabi-v7a " ,
)
)
armeabi_cc_toolchain_config ( name = " stub_armeabi-v7a " )
armeabi_cc_toolchain_config ( name = " stub_armeabi-v7a " )