[bazel] Update toolchains to 2027-1 (#9016)

This updates to the 2027-1 toolchains. This also is the first version
with the `rules_bzlmodrio_toolchains -> wpilib_toolchains` rename, so
the surface area of the change is a little bit big.

The opencv dep has bzlmod'ified as part of this as well.
This commit is contained in:
PJ Reiniger
2026-06-27 01:44:00 -04:00
committed by GitHub
parent 004532dac0
commit f8de482385
42 changed files with 601 additions and 425 deletions

View File

@@ -9,18 +9,16 @@ package(default_visibility = ["//visibility:public"])
cc_import(
name = "ceres-impl",
static_library = select({
"@rules_bzlmodrio_toolchains//conditions:linux_x86_64": "@ceres_linuxx86-64static//:lib",
"@rules_bzlmodrio_toolchains//conditions:linux_x86_64_debug": "@ceres_linuxx86-64staticdebug//:lib",
"@rules_bzlmodrio_toolchains//conditions:osx": "@ceres_osxuniversalstatic//:lib",
"@rules_bzlmodrio_toolchains//conditions:osx_debug": "@ceres_osxuniversalstaticdebug//:lib",
"@rules_bzlmodrio_toolchains//conditions:windows_arm64": "@ceres_windowsarm64static//:lib",
"@rules_bzlmodrio_toolchains//conditions:windows_arm64_debug": "@ceres_windowsarm64staticdebug//:lib",
"@rules_bzlmodrio_toolchains//conditions:windows_x86_64": "@ceres_windowsx86-64static//:lib",
"@rules_bzlmodrio_toolchains//conditions:windows_x86_64_debug": "@ceres_windowsx86-64staticdebug//:lib",
"@rules_bzlmodrio_toolchains//constraints/is_bookworm64:bookworm64": "@ceres_linuxarm64static//:lib",
"@rules_bzlmodrio_toolchains//constraints/is_bookworm64:bookworm64_debug": "@ceres_linuxarm64staticdebug//:lib",
"@rules_bzlmodrio_toolchains//constraints/is_raspibookworm32:raspibookworm32": "@ceres_linuxarm32static//:lib",
"@rules_bzlmodrio_toolchains//constraints/is_raspibookworm32:raspibookworm32_debug": "@ceres_linuxarm32staticdebug//:lib",
"@wpilib_toolchains//conditions:linux_x86_64": "@ceres_linuxx86-64static//:lib",
"@wpilib_toolchains//conditions:linux_x86_64_debug": "@ceres_linuxx86-64staticdebug//:lib",
"@wpilib_toolchains//conditions:osx": "@ceres_osxuniversalstatic//:lib",
"@wpilib_toolchains//conditions:osx_debug": "@ceres_osxuniversalstaticdebug//:lib",
"@wpilib_toolchains//conditions:windows_arm64": "@ceres_windowsarm64static//:lib",
"@wpilib_toolchains//conditions:windows_arm64_debug": "@ceres_windowsarm64staticdebug//:lib",
"@wpilib_toolchains//conditions:windows_x86_64": "@ceres_windowsx86-64static//:lib",
"@wpilib_toolchains//conditions:windows_x86_64_debug": "@ceres_windowsx86-64staticdebug//:lib",
"@wpilib_toolchains//constraints/is_trixie64:trixie64": "@ceres_linuxarm64static//:lib",
"@wpilib_toolchains//constraints/is_trixie64:trixie64_debug": "@ceres_linuxarm64staticdebug//:lib",
"//conditions:default": None,
}),
)