[bazel] Move the easy pieces of the build over to bzlmod (#8542)

bzlmod is the future, and makes it easier to depend on AOS.

---------

Signed-off-by: Austin Schuh <austin.linux@gmail.com>
This commit is contained in:
Austin Schuh
2026-01-12 14:30:31 -08:00
committed by GitHub
parent 0fd8210b5a
commit 1724e59f8d
14 changed files with 1166 additions and 444 deletions

View File

@@ -21,7 +21,7 @@ build:windows --repo_env="BAZEL_LINKOPTS=/DEPENDENTLOADFLAG%:0x1100"
################################
# ARM Windows Flags
################################
build:windows_arm --platforms="@rules_bzlmodrio_toolchains//platforms/windows_arm64" --platform_suffix=winarm64
build:windows_arm --platforms="@allwpilib//shared/bazel:windows_arm64" --platform_suffix=winarm64
# Ignore duplicate inline statment in tools
build:windows --host_copt=/wd4141
@@ -30,3 +30,4 @@ build:windows --host_copt=/wd4715
# Disable the C++17 feature in the windows compiler
build:windows --features=-default_cpp_std --host_features=-default_cpp_std
build:windows --host_platform=//shared/bazel:windows_host