-
Notifications
You must be signed in to change notification settings - Fork 0
/
MODULE.bazel
44 lines (40 loc) · 1.43 KB
/
MODULE.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
module(
name = "rules_bzlmodrio_toolchains",
version = "2024-1.bcr1",
compatibility_level = 2024,
)
bazel_dep(name = "platforms", version = "0.0.9")
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "bazel_skylib", version = "1.6.1")
deps = use_extension("//:maven_deps.bzl", "deps")
use_repo(
deps,
"bazelrio_bullseye_32_toolchain_linux",
"bazelrio_bullseye_32_toolchain_macos",
"bazelrio_bullseye_32_toolchain_windows",
"bazelrio_bullseye_64_toolchain_linux",
"bazelrio_bullseye_64_toolchain_macos",
"bazelrio_bullseye_64_toolchain_windows",
"bazelrio_raspi_32_toolchain_linux",
"bazelrio_raspi_32_toolchain_macos",
"bazelrio_raspi_32_toolchain_windows",
"bazelrio_roborio_toolchain_linux",
"bazelrio_roborio_toolchain_macos",
"bazelrio_roborio_toolchain_windows",
)
sh_configure = use_extension("@rules_bzlmodrio_toolchains//:extensions.bzl", "sh_configure")
use_repo(sh_configure, "local_bullseye_32", "local_bullseye_64", "local_raspi_32", "local_roborio")
register_toolchains(
"@local_bullseye_32//:macos",
"@local_bullseye_32//:linux",
"@local_bullseye_32//:windows",
"@local_bullseye_64//:macos",
"@local_bullseye_64//:linux",
"@local_bullseye_64//:windows",
"@local_raspi_32//:macos",
"@local_raspi_32//:linux",
"@local_raspi_32//:windows",
"@local_roborio//:macos",
"@local_roborio//:linux",
"@local_roborio//:windows",
)