Skip to content

Commit

Permalink
Migrate TF for bazelbuild/bazel#6942
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hlopko committed Mar 18, 2019
1 parent 1c1c24c commit 75d558d
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 50 deletions.
6 changes: 0 additions & 6 deletions third_party/gpus/crosstool/BUILD.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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",
Expand All @@ -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",
Expand Down
2 changes: 0 additions & 2 deletions third_party/sycl/crosstool/BUILD.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down
2 changes: 0 additions & 2 deletions third_party/toolchains/clang6/clang.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 0 additions & 4 deletions third_party/toolchains/cpus/arm/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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",
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
)
Expand All @@ -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,
)
Expand Down
6 changes: 0 additions & 6 deletions third_party/toolchains/preconfig/ubuntu14.04/gcc-nvcc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
)
Expand All @@ -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,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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",
Expand All @@ -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",
Expand Down
4 changes: 0 additions & 4 deletions third_party/toolchains/preconfig/ubuntu16.04/clang/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
8 changes: 0 additions & 8 deletions third_party/toolchains/preconfig/win_1803/bazel_018/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 75d558d

Please sign in to comment.