| # 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:baf2ddeb69d46e02babed92ff753e1e83149d23493561aaa6d4375a9432bb8f5", | |
| "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:9140cccbd8485a6b4f5ec81fda5739d409c6c4677d034f1023681613b52737f3", | |
| "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:baf2ddeb69d46e02babed92ff753e1e83149d23493561aaa6d4375a9432bb8f5", | |
| "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", | |
| ], | |
| ) |