| # Copyright 2026 The Abseil Authors. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # https://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| package(default_visibility = ["//visibility:private"]) | |
| platform( | |
| name = "rbe", | |
| constraint_values = [ | |
| "@platforms//os:linux", | |
| "@platforms//cpu:x86_64", | |
| ], | |
| exec_properties = { | |
| "OSArch": "amd64", | |
| "cache-silo-key": "n2-highcpu-2-2026-10-14", | |
| "container-image": "docker://gcr.io/google.com/absl-177019/oss-linux-latest@sha256:84505366948db3ea97c71d0aa384a920e73f6994bb4194d7f80ee77979fd9d58", | |
| "dockerRunAsRoot": "true", | |
| }, | |
| ) | |
| platform( | |
| name = "rbe-floor", | |
| constraint_values = [ | |
| "@platforms//os:linux", | |
| "@platforms//cpu:x86_64", | |
| ], | |
| exec_properties = { | |
| "OSArch": "amd64", | |
| "cache-silo-key": "n2-highcpu-2-2026-10-14", | |
| "container-image": "docker://gcr.io/google.com/absl-177019/oss-linux-floor@sha256:a25e596d10b907c8896768196a6e5c8007bac93abb1677ed1fcc186d28afc032", | |
| "dockerRunAsRoot": "true", | |
| }, | |
| ) | |
| platform( | |
| name = "rbe-arm", | |
| constraint_values = [ | |
| "@platforms//os:linux", | |
| "@platforms//cpu:aarch64", | |
| ], | |
| exec_properties = { | |
| "OSArch": "arm64", | |
| "cache-silo-key": "t2a-standard-4-2026-10-14", | |
| "container-image": "docker://gcr.io/google.com/absl-177019/oss-linux-latest@sha256:84505366948db3ea97c71d0aa384a920e73f6994bb4194d7f80ee77979fd9d58", | |
| "dockerRunAsRoot": "true", | |
| }, | |
| ) | |
| platform( | |
| name = "linux_gcc", | |
| constraint_values = [ | |
| "@platforms//os:linux", | |
| "@platforms//cpu:x86_64", | |
| "@bazel_tools//tools/cpp:gcc", | |
| ], | |
| ) | |
| platform( | |
| name = "linux_clang", | |
| constraint_values = [ | |
| "@platforms//os:linux", | |
| "@platforms//cpu:x86_64", | |
| "@bazel_tools//tools/cpp:clang", | |
| ], | |
| ) | |
| platform( | |
| name = "linux_arm_clang", | |
| constraint_values = [ | |
| "@platforms//os:linux", | |
| "@platforms//cpu:aarch64", | |
| "@bazel_tools//tools/cpp:clang", | |
| ], | |
| ) |