Skip to content

Commit

Permalink
Switch to using new-style Bazel platform constraints. (#2484)
Browse files Browse the repository at this point in the history
The old style will stop working in Bazel 6.0 (see bazelbuild/bazel@3469784)

Signed-off-by: Benjamin Peterson <[email protected]>
  • Loading branch information
benjaminp authored Aug 19, 2022
1 parent 8901b72 commit 0d7b43e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions third_party/rbe_configs/config/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ package(default_visibility = ["//visibility:public"])
toolchain(
name = "cc-toolchain",
exec_compatible_with = [
"@bazel_tools//platforms:linux",
"@bazel_tools//platforms:x86_64",
"@platforms//os:linux",
"@platforms//cpu:x86_64",
"@bazel_tools//tools/cpp:clang",
],
target_compatible_with = [
"@bazel_tools//platforms:linux",
"@bazel_tools//platforms:x86_64",
"@platforms//os:linux",
"@platforms//cpu:x86_64",
],
toolchain = "//third_party/rbe_configs/cc:cc-compiler-k8",
toolchain_type = "@bazel_tools//tools/cpp:toolchain_type",
Expand All @@ -37,8 +37,8 @@ platform(
name = "platform",
parents = ["@local_config_platform//:host"],
constraint_values = [
"@bazel_tools//platforms:linux",
"@bazel_tools//platforms:x86_64",
"@platforms//os:linux",
"@platforms//cpu:x86_64",
"@bazel_tools//tools/cpp:clang",
],
exec_properties = {
Expand All @@ -52,8 +52,8 @@ platform(
name = "platform-asan",
parents = ["@local_config_platform//:host"],
constraint_values = [
"@bazel_tools//platforms:linux",
"@bazel_tools//platforms:x86_64",
"@platforms//os:linux",
"@platforms//cpu:x86_64",
"@bazel_tools//tools/cpp:clang",
],
exec_properties = {
Expand Down

0 comments on commit 0d7b43e

Please sign in to comment.