Migrate TF for https://github.com/bazelbuild/bazel/issues/6942
Since Bazel 0.22 static_runtime_libs and dynamic_runtime_libs attributes are not mandatory, and since 0.23 they are replaced by their singluar siblings.
This commit is contained in:
parent
1c1c24c76b
commit
75d558d3fd
6
third_party/gpus/crosstool/BUILD.tpl
vendored
6
third_party/gpus/crosstool/BUILD.tpl
vendored
@ -37,10 +37,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "local",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = "%{linker_files}",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
# To support linker flags that need to go to the start of command line
|
||||
# we need the toolchain to support parameter files. Parameter files are
|
||||
@ -56,10 +54,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "darwin",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = "%{linker_files}",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 0,
|
||||
toolchain_identifier = "local_darwin",
|
||||
@ -71,10 +67,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "x64_windows",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = "%{win_linker_files}",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 1,
|
||||
toolchain_identifier = "local_windows",
|
||||
|
2
third_party/sycl/crosstool/BUILD.tpl
vendored
2
third_party/sycl/crosstool/BUILD.tpl
vendored
@ -15,10 +15,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "local",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":empty",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 1,
|
||||
)
|
||||
|
2
third_party/toolchains/clang6/clang.BUILD
vendored
2
third_party/toolchains/clang6/clang.BUILD
vendored
@ -152,11 +152,9 @@ cc_toolchain(
|
||||
compiler_files = ":compiler_files",
|
||||
cpu = "k8",
|
||||
dwp_files = ":dwp",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":linker_files",
|
||||
objcopy_files = ":objcopy",
|
||||
output_licenses = ["unencumbered"],
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":strip",
|
||||
supports_param_files = 1,
|
||||
)
|
||||
|
4
third_party/toolchains/cpus/arm/BUILD
vendored
4
third_party/toolchains/cpus/arm/BUILD
vendored
@ -31,10 +31,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "local",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":empty",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 1,
|
||||
toolchain_identifier = "local_linux",
|
||||
@ -46,10 +44,8 @@ cc_toolchain(
|
||||
compiler_files = ":arm_linux_all_files",
|
||||
cpu = "armeabi",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":arm_linux_all_files",
|
||||
objcopy_files = "arm_linux_all_files",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = "arm_linux_all_files",
|
||||
supports_param_files = 1,
|
||||
toolchain_identifier = "arm-linux-gnueabihf",
|
||||
|
@ -37,10 +37,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "local",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":crosstool_wrapper_driver_is_not_gcc",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
# To support linker flags that need to go to the start of command line
|
||||
# we need the toolchain to support parameter files. Parameter files are
|
||||
@ -56,10 +54,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "darwin",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":crosstool_wrapper_driver_is_not_gcc",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 0,
|
||||
toolchain_identifier = "local_darwin",
|
||||
@ -71,10 +67,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "x64_windows",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":windows_msvc_wrapper_files",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 1,
|
||||
toolchain_identifier = "local_windows",
|
||||
|
@ -31,10 +31,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "local",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":crosstool_wrapper_driver_is_not_gcc",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
# To support linker flags that need to go to the start of command line
|
||||
# we need the toolchain to support parameter files. Parameter files are
|
||||
@ -49,10 +47,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "darwin",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":crosstool_wrapper_driver_is_not_gcc",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 0,
|
||||
)
|
||||
@ -63,10 +59,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "x64_windows",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":windows_msvc_wrapper_files",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 1,
|
||||
)
|
||||
|
@ -31,10 +31,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "local",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":crosstool_wrapper_driver_is_not_gcc",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
# To support linker flags that need to go to the start of command line
|
||||
# we need the toolchain to support parameter files. Parameter files are
|
||||
@ -49,10 +47,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "darwin",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":crosstool_wrapper_driver_is_not_gcc",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 0,
|
||||
)
|
||||
@ -63,10 +59,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "x64_windows",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":windows_msvc_wrapper_files",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 1,
|
||||
)
|
||||
|
@ -37,10 +37,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "local",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":crosstool_wrapper_driver_is_not_gcc",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
# To support linker flags that need to go to the start of command line
|
||||
# we need the toolchain to support parameter files. Parameter files are
|
||||
@ -56,10 +54,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "darwin",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":crosstool_wrapper_driver_is_not_gcc",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 0,
|
||||
toolchain_identifier = "local_darwin",
|
||||
@ -71,10 +67,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "x64_windows",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":windows_msvc_wrapper_files",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 1,
|
||||
toolchain_identifier = "local_windows",
|
||||
|
@ -60,10 +60,8 @@ cc_toolchain(
|
||||
compiler_files = ":compiler_deps",
|
||||
cpu = "k8",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":compiler_deps",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 1,
|
||||
toolchain_identifier = "linux_gnu_x86",
|
||||
@ -88,10 +86,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "local",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":empty",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 1,
|
||||
toolchain_identifier = "stub_armeabi-v7a",
|
||||
|
@ -51,10 +51,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "local",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":empty",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 1,
|
||||
toolchain_identifier = "msys_x64",
|
||||
@ -81,10 +79,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "x64_windows",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":empty",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 0,
|
||||
toolchain_identifier = "msys_x64_mingw",
|
||||
@ -111,10 +107,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "x64_windows",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":empty",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 1,
|
||||
toolchain_identifier = "msvc_x64",
|
||||
@ -140,10 +134,8 @@ cc_toolchain(
|
||||
compiler_files = ":empty",
|
||||
cpu = "local",
|
||||
dwp_files = ":empty",
|
||||
dynamic_runtime_libs = [":empty"],
|
||||
linker_files = ":empty",
|
||||
objcopy_files = ":empty",
|
||||
static_runtime_libs = [":empty"],
|
||||
strip_files = ":empty",
|
||||
supports_param_files = 1,
|
||||
toolchain_identifier = "stub_armeabi-v7a",
|
||||
|
Loading…
Reference in New Issue
Block a user