diff --git a/.github/workflows/arm-none-eabi.yml b/.github/workflows/arm-none-eabi.yml index 73925f8..74a66c0 100644 --- a/.github/workflows/arm-none-eabi.yml +++ b/.github/workflows/arm-none-eabi.yml @@ -21,7 +21,7 @@ jobs: key: bazel - name: Build HelloWorld run: bazelisk build //HelloWorld:HelloWorld - working-directory: Examples + working-directory: Examples/arm-none-eabi ubuntu-latest: runs-on: ubuntu-latest @@ -35,4 +35,4 @@ jobs: key: bazel - name: Build HelloWorld run: bazelisk build //HelloWorld:HelloWorld - working-directory: Examples + working-directory: Examples/arm-none-eabi diff --git a/.gitignore b/.gitignore index ad147df..ac51a05 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1 @@ -bazel-bin -bazel-examples -bazel-bazel_arm -bazel-out -bazel-testlogs +bazel-* diff --git a/Examples/MODULE.bazel b/Examples/MODULE.bazel deleted file mode 100644 index ce05d47..0000000 --- a/Examples/MODULE.bazel +++ /dev/null @@ -1,16 +0,0 @@ -"" - -# buildifier: disable=module-docstring -module( - name = "bazel_arm_examples", - version = "0.1", -) - -bazel_dep(name = "rules_cc", version = "0.0.10") -bazel_dep(name = "platforms", version = "0.0.10") - -git_override(module_name="bazel_utilities", remote="https://github.com/0-Sacha/bazel_utilities.git", commit="aa399bb2599e2cd64a35a2275ce0f73a539524a5") -bazel_dep(name = "bazel_utilities", version = "0.0.1", dev_dependency = True) -local_path_override(module_name = "bazel_arm", path = "../") -bazel_dep(name = "bazel_arm", version = "0.0.1", dev_dependency = True) - diff --git a/Examples/MODULE.bazel.lock b/Examples/MODULE.bazel.lock deleted file mode 100644 index f3535f4..0000000 --- a/Examples/MODULE.bazel.lock +++ /dev/null @@ -1,118 +0,0 @@ -{ - "lockFileVersion": 11, - "registryFileHashes": { - "https://bcr.bazel.build/bazel_registry.json": "8a28e4aff06ee60aed2a8c281907fb8bcbf3b753c91fb5a5c57da3215d5b3497", - "https://bcr.bazel.build/modules/abseil-cpp/20210324.2/MODULE.bazel": "7cd0312e064fde87c8d1cd79ba06c876bd23630c83466e9500321be55c96ace2", - "https://bcr.bazel.build/modules/abseil-cpp/20211102.0/MODULE.bazel": "70390338f7a5106231d20620712f7cccb659cd0e9d073d1991c038eb9fc57589", - "https://bcr.bazel.build/modules/abseil-cpp/20211102.0/source.json": "7e3a9adf473e9af076ae485ed649d5641ad50ec5c11718103f34de03170d94ad", - "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel": "50341a62efbc483e8a2a6aec30994a58749bd7b885e18dd96aa8c33031e558ef", - "https://bcr.bazel.build/modules/apple_support/1.5.0/source.json": "eb98a7627c0bc486b57f598ad8da50f6625d974c8f723e9ea71bd39f709c9862", - "https://bcr.bazel.build/modules/bazel_features/1.11.0/MODULE.bazel": "f9382337dd5a474c3b7d334c2f83e50b6eaedc284253334cf823044a26de03e8", - "https://bcr.bazel.build/modules/bazel_features/1.11.0/source.json": "c9320aa53cd1c441d24bd6b716da087ad7e4ff0d9742a9884587596edfe53015", - "https://bcr.bazel.build/modules/bazel_skylib/1.0.3/MODULE.bazel": "bcb0fd896384802d1ad283b4e4eb4d718eebd8cb820b0a2c3a347fb971afd9d8", - "https://bcr.bazel.build/modules/bazel_skylib/1.2.1/MODULE.bazel": "f35baf9da0efe45fa3da1696ae906eea3d615ad41e2e3def4aeb4e8bc0ef9a7a", - "https://bcr.bazel.build/modules/bazel_skylib/1.3.0/MODULE.bazel": "20228b92868bf5cfc41bda7afc8a8ba2a543201851de39d990ec957b513579c5", - "https://bcr.bazel.build/modules/bazel_skylib/1.4.1/MODULE.bazel": "a0dcb779424be33100dcae821e9e27e4f2901d9dfd5333efe5ac6a8d7ab75e1d", - "https://bcr.bazel.build/modules/bazel_skylib/1.6.1/MODULE.bazel": "8fdee2dbaace6c252131c00e1de4b165dc65af02ea278476187765e1a617b917", - "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/MODULE.bazel": "3120d80c5861aa616222ec015332e5f8d3171e062e3e804a2a0253e1be26e59b", - "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/source.json": "f121b43eeefc7c29efbd51b83d08631e2347297c95aac9764a701f2a6a2bb953", - "https://bcr.bazel.build/modules/buildozer/7.1.2/MODULE.bazel": "2e8dd40ede9c454042645fd8d8d0cd1527966aa5c919de86661e62953cd73d84", - "https://bcr.bazel.build/modules/buildozer/7.1.2/source.json": "c9028a501d2db85793a6996205c8de120944f50a0d570438fcae0457a5f9d1f8", - "https://bcr.bazel.build/modules/googletest/1.11.0/MODULE.bazel": "3a83f095183f66345ca86aa13c58b59f9f94a2f81999c093d4eeaa2d262d12f4", - "https://bcr.bazel.build/modules/googletest/1.11.0/source.json": "c73d9ef4268c91bd0c1cd88f1f9dfa08e814b1dbe89b5f594a9f08ba0244d206", - "https://bcr.bazel.build/modules/platforms/0.0.10/MODULE.bazel": "8cb8efaf200bdeb2150d93e162c40f388529a25852b332cec879373771e48ed5", - "https://bcr.bazel.build/modules/platforms/0.0.10/source.json": "f22828ff4cf021a6b577f1bf6341cb9dcd7965092a439f64fc1bb3b7a5ae4bd5", - "https://bcr.bazel.build/modules/platforms/0.0.4/MODULE.bazel": "9b328e31ee156f53f3c416a64f8491f7eb731742655a47c9eec4703a71644aee", - "https://bcr.bazel.build/modules/platforms/0.0.5/MODULE.bazel": "5733b54ea419d5eaf7997054bb55f6a1d0b5ff8aedf0176fef9eea44f3acda37", - "https://bcr.bazel.build/modules/platforms/0.0.6/MODULE.bazel": "ad6eeef431dc52aefd2d77ed20a4b353f8ebf0f4ecdd26a807d2da5aa8cd0615", - "https://bcr.bazel.build/modules/platforms/0.0.7/MODULE.bazel": "72fd4a0ede9ee5c021f6a8dd92b503e089f46c227ba2813ff183b71616034814", - "https://bcr.bazel.build/modules/platforms/0.0.9/MODULE.bazel": "4a87a60c927b56ddd67db50c89acaa62f4ce2a1d2149ccb63ffd871d5ce29ebc", - "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel": "a5a29bb89544f9b97edce05642fac225a808b5b7be74038ea3640fae2f8e66a7", - "https://bcr.bazel.build/modules/protobuf/21.7/source.json": "bbe500720421e582ff2d18b0802464205138c06056f443184de39fbb8187b09b", - "https://bcr.bazel.build/modules/protobuf/3.19.0/MODULE.bazel": "6b5fbb433f760a99a22b18b6850ed5784ef0e9928a72668b66e4d7ccd47db9b0", - "https://bcr.bazel.build/modules/protobuf/3.19.6/MODULE.bazel": "9233edc5e1f2ee276a60de3eaa47ac4132302ef9643238f23128fea53ea12858", - "https://bcr.bazel.build/modules/rules_cc/0.0.1/MODULE.bazel": "cb2aa0747f84c6c3a78dad4e2049c154f08ab9d166b1273835a8174940365647", - "https://bcr.bazel.build/modules/rules_cc/0.0.10/MODULE.bazel": "ec1705118f7eaedd6e118508d3d26deba2a4e76476ada7e0e3965211be012002", - "https://bcr.bazel.build/modules/rules_cc/0.0.10/source.json": "90310b16e0e7df0cf40f8d1dccd7d373360f42419a6bfbbf5bb013182dd70e84", - "https://bcr.bazel.build/modules/rules_cc/0.0.2/MODULE.bazel": "6915987c90970493ab97393024c156ea8fb9f3bea953b2f3ec05c34f19b5695c", - "https://bcr.bazel.build/modules/rules_cc/0.0.8/MODULE.bazel": "964c85c82cfeb6f3855e6a07054fdb159aced38e99a5eecf7bce9d53990afa3e", - "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel": "836e76439f354b89afe6a911a7adf59a6b2518fafb174483ad78a2a2fde7b1c5", - "https://bcr.bazel.build/modules/rules_java/4.0.0/MODULE.bazel": "5a78a7ae82cd1a33cef56dc578c7d2a46ed0dca12643ee45edbb8417899e6f74", - "https://bcr.bazel.build/modules/rules_java/7.6.1/MODULE.bazel": "2f14b7e8a1aa2f67ae92bc69d1ec0fa8d9f827c4e17ff5e5f02e91caa3b2d0fe", - "https://bcr.bazel.build/modules/rules_java/7.6.5/MODULE.bazel": "481164be5e02e4cab6e77a36927683263be56b7e36fef918b458d7a8a1ebadb1", - "https://bcr.bazel.build/modules/rules_java/7.6.5/source.json": "a805b889531d1690e3c72a7a7e47a870d00323186a9904b36af83aa3d053ee8d", - "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel": "a56b85e418c83eb1839819f0b515c431010160383306d13ec21959ac412d2fe7", - "https://bcr.bazel.build/modules/rules_jvm_external/5.2/MODULE.bazel": "d9351ba35217ad0de03816ef3ed63f89d411349353077348a45348b096615036", - "https://bcr.bazel.build/modules/rules_jvm_external/5.2/source.json": "10572111995bc349ce31c78f74b3c147f6b3233975c7fa5eff9211f6db0d34d9", - "https://bcr.bazel.build/modules/rules_license/0.0.3/MODULE.bazel": "627e9ab0247f7d1e05736b59dbb1b6871373de5ad31c3011880b4133cafd4bd0", - "https://bcr.bazel.build/modules/rules_license/0.0.7/MODULE.bazel": "088fbeb0b6a419005b89cf93fe62d9517c0a2b8bb56af3244af65ecfe37e7d5d", - "https://bcr.bazel.build/modules/rules_license/0.0.7/source.json": "355cc5737a0f294e560d52b1b7a6492d4fff2caf0bef1a315df5a298fca2d34a", - "https://bcr.bazel.build/modules/rules_pkg/0.7.0/MODULE.bazel": "df99f03fc7934a4737122518bb87e667e62d780b610910f0447665a7e2be62dc", - "https://bcr.bazel.build/modules/rules_pkg/0.7.0/source.json": "c2557066e0c0342223ba592510ad3d812d4963b9024831f7f66fd0584dd8c66c", - "https://bcr.bazel.build/modules/rules_proto/4.0.0/MODULE.bazel": "a7a7b6ce9bee418c1a760b3d84f83a299ad6952f9903c67f19e4edd964894e06", - "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/MODULE.bazel": "e8dff86b0971688790ae75528fe1813f71809b5afd57facb44dad9e8eca631b7", - "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/source.json": "d57902c052424dfda0e71646cb12668d39c4620ee0544294d9d941e7d12bc3a9", - "https://bcr.bazel.build/modules/rules_python/0.10.2/MODULE.bazel": "cc82bc96f2997baa545ab3ce73f196d040ffb8756fd2d66125a530031cd90e5f", - "https://bcr.bazel.build/modules/rules_python/0.22.1/MODULE.bazel": "26114f0c0b5e93018c0c066d6673f1a2c3737c7e90af95eff30cfee38d0bbac7", - "https://bcr.bazel.build/modules/rules_python/0.22.1/source.json": "57226905e783bae7c37c2dd662be078728e48fa28ee4324a7eabcafb5a43d014", - "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel": "9208ee05fd48bf09ac60ed269791cf17fb343db56c8226a720fbb1cdf467166c", - "https://bcr.bazel.build/modules/stardoc/0.5.1/MODULE.bazel": "1a05d92974d0c122f5ccf09291442580317cdd859f07a8655f1db9a60374f9f8", - "https://bcr.bazel.build/modules/stardoc/0.5.3/MODULE.bazel": "c7f6948dae6999bf0db32c1858ae345f112cacf98f174c7a8bb707e41b974f1c", - "https://bcr.bazel.build/modules/stardoc/0.7.0/MODULE.bazel": "05e3d6d30c099b6770e97da986c53bd31844d7f13d41412480ea265ac9e8079c", - "https://bcr.bazel.build/modules/stardoc/0.7.0/source.json": "e3c524bf2ef20992539ce2bc4a2243f4853130209ee831689983e28d05769099", - "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/MODULE.bazel": "7298990c00040a0e2f121f6c32544bab27d4452f80d9ce51349b1a28f3005c43", - "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/source.json": "f1ef7d3f9e0e26d4b23d1c39b5f5de71f584dd7d1b4ef83d9bbba6ec7a6a6459", - "https://bcr.bazel.build/modules/zlib/1.2.11/MODULE.bazel": "07b389abc85fdbca459b69e2ec656ae5622873af3f845e1c9d80fe179f3effa0", - "https://bcr.bazel.build/modules/zlib/1.2.12/MODULE.bazel": "3b1a8834ada2a883674be8cbd36ede1b6ec481477ada359cd2d3ddc562340b27", - "https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/MODULE.bazel": "af322bc08976524477c79d1e45e241b6efbeb918c497e8840b8ab116802dda79", - "https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/source.json": "2be409ac3c7601245958cd4fcdff4288be79ed23bd690b4b951f500d54ee6e7d" - }, - "selectedYankedVersions": {}, - "moduleExtensions": { - "@@apple_support~//crosstool:setup.bzl%apple_cc_configure_extension": { - "general": { - "bzlTransitiveDigest": "PjIds3feoYE8SGbbIq2SFTZy3zmxeO2tQevJZNDo7iY=", - "usagesDigest": "+hz7IHWN6A1oVJJWNDB6yZRG+RYhF76wAYItpAeIUIg=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_apple_cc_toolchains": { - "bzlFile": "@@apple_support~//crosstool:setup.bzl", - "ruleClassName": "_apple_cc_autoconf_toolchains", - "attributes": {} - }, - "local_config_apple_cc": { - "bzlFile": "@@apple_support~//crosstool:setup.bzl", - "ruleClassName": "_apple_cc_autoconf", - "attributes": {} - } - }, - "recordedRepoMappingEntries": [ - [ - "apple_support~", - "bazel_tools", - "bazel_tools" - ] - ] - } - }, - "@@platforms//host:extension.bzl%host_platform": { - "general": { - "bzlTransitiveDigest": "xelQcPZH8+tmuOHVjL9vDxMnnQNMlwj0SlvgoqBkm4U=", - "usagesDigest": "hgylFkgWSg0ulUwWZzEM1aIftlUnbmw2ynWLdEfHnZc=", - "recordedFileInputs": {}, - "recordedDirentsInputs": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "host_platform": { - "bzlFile": "@@platforms//host:extension.bzl", - "ruleClassName": "host_platform_repo", - "attributes": {} - } - }, - "recordedRepoMappingEntries": [] - } - } - } -} diff --git a/Examples/HelloWorld/BUILD.bazel b/Examples/arm-none-eabi/HelloWorld/BUILD.bazel similarity index 100% rename from Examples/HelloWorld/BUILD.bazel rename to Examples/arm-none-eabi/HelloWorld/BUILD.bazel diff --git a/Examples/HelloWorld/main.cpp b/Examples/arm-none-eabi/HelloWorld/main.cpp similarity index 100% rename from Examples/HelloWorld/main.cpp rename to Examples/arm-none-eabi/HelloWorld/main.cpp diff --git a/Examples/arm-none-eabi/MODULE.bazel b/Examples/arm-none-eabi/MODULE.bazel new file mode 100644 index 0000000..0ed886a --- /dev/null +++ b/Examples/arm-none-eabi/MODULE.bazel @@ -0,0 +1,30 @@ +"" + +# buildifier: disable=module-docstring +module( + name = "bazel_arm_examples", + version = "0.1", +) + +bazel_dep(name = "rules_cc", version = "0.0.10") +bazel_dep(name = "platforms", version = "0.0.10") + +git_override(module_name="bazel_utilities", remote="https://github.com/0-Sacha/bazel_utilities.git", commit="fbb17685ac9ba78fef914a322e6c37839dc16d4f") + +# Replace with git_override from my repo `https://github.com/0-Sacha/bazel_arm.git` +local_path_override(module_name = "bazel_arm", path = "../../") + +bazel_dep(name = "bazel_utilities", version = "0.0.1", dev_dependency = True) +bazel_dep(name = "bazel_arm", version = "0.0.1", dev_dependency = True) + +arm_toolchain_extension = use_extension("@bazel_arm//:rules.bzl", "arm_toolchain_extension", dev_dependency = True) +inject_repo(arm_toolchain_extension, "platforms", "bazel_utilities") +arm_toolchain_extension.arm_toolchain( + name = "test", + toolchain_type = "arm-none-eabi", + linkopts = [ + "-specs=nosys.specs" + ], +) +use_repo(arm_toolchain_extension, "test") +register_toolchains("@test//:toolchain") diff --git a/Examples/arm-none-eabi/MODULE.bazel.lock b/Examples/arm-none-eabi/MODULE.bazel.lock new file mode 100644 index 0000000..854383e --- /dev/null +++ b/Examples/arm-none-eabi/MODULE.bazel.lock @@ -0,0 +1,180 @@ +{ + "lockFileVersion": 11, + "registryFileHashes": { + "https://bcr.bazel.build/bazel_registry.json": "8a28e4aff06ee60aed2a8c281907fb8bcbf3b753c91fb5a5c57da3215d5b3497", + "https://bcr.bazel.build/modules/abseil-cpp/20210324.2/MODULE.bazel": "7cd0312e064fde87c8d1cd79ba06c876bd23630c83466e9500321be55c96ace2", + "https://bcr.bazel.build/modules/abseil-cpp/20211102.0/MODULE.bazel": "70390338f7a5106231d20620712f7cccb659cd0e9d073d1991c038eb9fc57589", + "https://bcr.bazel.build/modules/abseil-cpp/20211102.0/source.json": "7e3a9adf473e9af076ae485ed649d5641ad50ec5c11718103f34de03170d94ad", + "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel": "50341a62efbc483e8a2a6aec30994a58749bd7b885e18dd96aa8c33031e558ef", + "https://bcr.bazel.build/modules/apple_support/1.5.0/source.json": "eb98a7627c0bc486b57f598ad8da50f6625d974c8f723e9ea71bd39f709c9862", + "https://bcr.bazel.build/modules/bazel_features/1.11.0/MODULE.bazel": "f9382337dd5a474c3b7d334c2f83e50b6eaedc284253334cf823044a26de03e8", + "https://bcr.bazel.build/modules/bazel_features/1.11.0/source.json": "c9320aa53cd1c441d24bd6b716da087ad7e4ff0d9742a9884587596edfe53015", + "https://bcr.bazel.build/modules/bazel_skylib/1.0.3/MODULE.bazel": "bcb0fd896384802d1ad283b4e4eb4d718eebd8cb820b0a2c3a347fb971afd9d8", + "https://bcr.bazel.build/modules/bazel_skylib/1.2.1/MODULE.bazel": "f35baf9da0efe45fa3da1696ae906eea3d615ad41e2e3def4aeb4e8bc0ef9a7a", + "https://bcr.bazel.build/modules/bazel_skylib/1.3.0/MODULE.bazel": "20228b92868bf5cfc41bda7afc8a8ba2a543201851de39d990ec957b513579c5", + "https://bcr.bazel.build/modules/bazel_skylib/1.4.1/MODULE.bazel": "a0dcb779424be33100dcae821e9e27e4f2901d9dfd5333efe5ac6a8d7ab75e1d", + "https://bcr.bazel.build/modules/bazel_skylib/1.6.1/MODULE.bazel": "8fdee2dbaace6c252131c00e1de4b165dc65af02ea278476187765e1a617b917", + "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/MODULE.bazel": "3120d80c5861aa616222ec015332e5f8d3171e062e3e804a2a0253e1be26e59b", + "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/source.json": "f121b43eeefc7c29efbd51b83d08631e2347297c95aac9764a701f2a6a2bb953", + "https://bcr.bazel.build/modules/buildozer/7.1.2/MODULE.bazel": "2e8dd40ede9c454042645fd8d8d0cd1527966aa5c919de86661e62953cd73d84", + "https://bcr.bazel.build/modules/buildozer/7.1.2/source.json": "c9028a501d2db85793a6996205c8de120944f50a0d570438fcae0457a5f9d1f8", + "https://bcr.bazel.build/modules/googletest/1.11.0/MODULE.bazel": "3a83f095183f66345ca86aa13c58b59f9f94a2f81999c093d4eeaa2d262d12f4", + "https://bcr.bazel.build/modules/googletest/1.11.0/source.json": "c73d9ef4268c91bd0c1cd88f1f9dfa08e814b1dbe89b5f594a9f08ba0244d206", + "https://bcr.bazel.build/modules/platforms/0.0.10/MODULE.bazel": "8cb8efaf200bdeb2150d93e162c40f388529a25852b332cec879373771e48ed5", + "https://bcr.bazel.build/modules/platforms/0.0.10/source.json": "f22828ff4cf021a6b577f1bf6341cb9dcd7965092a439f64fc1bb3b7a5ae4bd5", + "https://bcr.bazel.build/modules/platforms/0.0.4/MODULE.bazel": "9b328e31ee156f53f3c416a64f8491f7eb731742655a47c9eec4703a71644aee", + "https://bcr.bazel.build/modules/platforms/0.0.5/MODULE.bazel": "5733b54ea419d5eaf7997054bb55f6a1d0b5ff8aedf0176fef9eea44f3acda37", + "https://bcr.bazel.build/modules/platforms/0.0.6/MODULE.bazel": "ad6eeef431dc52aefd2d77ed20a4b353f8ebf0f4ecdd26a807d2da5aa8cd0615", + "https://bcr.bazel.build/modules/platforms/0.0.7/MODULE.bazel": "72fd4a0ede9ee5c021f6a8dd92b503e089f46c227ba2813ff183b71616034814", + "https://bcr.bazel.build/modules/platforms/0.0.9/MODULE.bazel": "4a87a60c927b56ddd67db50c89acaa62f4ce2a1d2149ccb63ffd871d5ce29ebc", + "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel": "a5a29bb89544f9b97edce05642fac225a808b5b7be74038ea3640fae2f8e66a7", + "https://bcr.bazel.build/modules/protobuf/21.7/source.json": "bbe500720421e582ff2d18b0802464205138c06056f443184de39fbb8187b09b", + "https://bcr.bazel.build/modules/protobuf/3.19.0/MODULE.bazel": "6b5fbb433f760a99a22b18b6850ed5784ef0e9928a72668b66e4d7ccd47db9b0", + "https://bcr.bazel.build/modules/protobuf/3.19.6/MODULE.bazel": "9233edc5e1f2ee276a60de3eaa47ac4132302ef9643238f23128fea53ea12858", + "https://bcr.bazel.build/modules/rules_cc/0.0.1/MODULE.bazel": "cb2aa0747f84c6c3a78dad4e2049c154f08ab9d166b1273835a8174940365647", + "https://bcr.bazel.build/modules/rules_cc/0.0.10/MODULE.bazel": "ec1705118f7eaedd6e118508d3d26deba2a4e76476ada7e0e3965211be012002", + "https://bcr.bazel.build/modules/rules_cc/0.0.10/source.json": "90310b16e0e7df0cf40f8d1dccd7d373360f42419a6bfbbf5bb013182dd70e84", + "https://bcr.bazel.build/modules/rules_cc/0.0.2/MODULE.bazel": "6915987c90970493ab97393024c156ea8fb9f3bea953b2f3ec05c34f19b5695c", + "https://bcr.bazel.build/modules/rules_cc/0.0.8/MODULE.bazel": "964c85c82cfeb6f3855e6a07054fdb159aced38e99a5eecf7bce9d53990afa3e", + "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel": "836e76439f354b89afe6a911a7adf59a6b2518fafb174483ad78a2a2fde7b1c5", + "https://bcr.bazel.build/modules/rules_java/4.0.0/MODULE.bazel": "5a78a7ae82cd1a33cef56dc578c7d2a46ed0dca12643ee45edbb8417899e6f74", + "https://bcr.bazel.build/modules/rules_java/7.6.1/MODULE.bazel": "2f14b7e8a1aa2f67ae92bc69d1ec0fa8d9f827c4e17ff5e5f02e91caa3b2d0fe", + "https://bcr.bazel.build/modules/rules_java/7.6.5/MODULE.bazel": "481164be5e02e4cab6e77a36927683263be56b7e36fef918b458d7a8a1ebadb1", + "https://bcr.bazel.build/modules/rules_java/7.6.5/source.json": "a805b889531d1690e3c72a7a7e47a870d00323186a9904b36af83aa3d053ee8d", + "https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel": "a56b85e418c83eb1839819f0b515c431010160383306d13ec21959ac412d2fe7", + "https://bcr.bazel.build/modules/rules_jvm_external/5.2/MODULE.bazel": "d9351ba35217ad0de03816ef3ed63f89d411349353077348a45348b096615036", + "https://bcr.bazel.build/modules/rules_jvm_external/5.2/source.json": "10572111995bc349ce31c78f74b3c147f6b3233975c7fa5eff9211f6db0d34d9", + "https://bcr.bazel.build/modules/rules_license/0.0.3/MODULE.bazel": "627e9ab0247f7d1e05736b59dbb1b6871373de5ad31c3011880b4133cafd4bd0", + "https://bcr.bazel.build/modules/rules_license/0.0.7/MODULE.bazel": "088fbeb0b6a419005b89cf93fe62d9517c0a2b8bb56af3244af65ecfe37e7d5d", + "https://bcr.bazel.build/modules/rules_license/0.0.7/source.json": "355cc5737a0f294e560d52b1b7a6492d4fff2caf0bef1a315df5a298fca2d34a", + "https://bcr.bazel.build/modules/rules_pkg/0.7.0/MODULE.bazel": "df99f03fc7934a4737122518bb87e667e62d780b610910f0447665a7e2be62dc", + "https://bcr.bazel.build/modules/rules_pkg/0.7.0/source.json": "c2557066e0c0342223ba592510ad3d812d4963b9024831f7f66fd0584dd8c66c", + "https://bcr.bazel.build/modules/rules_proto/4.0.0/MODULE.bazel": "a7a7b6ce9bee418c1a760b3d84f83a299ad6952f9903c67f19e4edd964894e06", + "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/MODULE.bazel": "e8dff86b0971688790ae75528fe1813f71809b5afd57facb44dad9e8eca631b7", + "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/source.json": "d57902c052424dfda0e71646cb12668d39c4620ee0544294d9d941e7d12bc3a9", + "https://bcr.bazel.build/modules/rules_python/0.10.2/MODULE.bazel": "cc82bc96f2997baa545ab3ce73f196d040ffb8756fd2d66125a530031cd90e5f", + "https://bcr.bazel.build/modules/rules_python/0.22.1/MODULE.bazel": "26114f0c0b5e93018c0c066d6673f1a2c3737c7e90af95eff30cfee38d0bbac7", + "https://bcr.bazel.build/modules/rules_python/0.22.1/source.json": "57226905e783bae7c37c2dd662be078728e48fa28ee4324a7eabcafb5a43d014", + "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel": "9208ee05fd48bf09ac60ed269791cf17fb343db56c8226a720fbb1cdf467166c", + "https://bcr.bazel.build/modules/stardoc/0.5.1/MODULE.bazel": "1a05d92974d0c122f5ccf09291442580317cdd859f07a8655f1db9a60374f9f8", + "https://bcr.bazel.build/modules/stardoc/0.5.3/MODULE.bazel": "c7f6948dae6999bf0db32c1858ae345f112cacf98f174c7a8bb707e41b974f1c", + "https://bcr.bazel.build/modules/stardoc/0.7.0/MODULE.bazel": "05e3d6d30c099b6770e97da986c53bd31844d7f13d41412480ea265ac9e8079c", + "https://bcr.bazel.build/modules/stardoc/0.7.0/source.json": "e3c524bf2ef20992539ce2bc4a2243f4853130209ee831689983e28d05769099", + "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/MODULE.bazel": "7298990c00040a0e2f121f6c32544bab27d4452f80d9ce51349b1a28f3005c43", + "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/source.json": "f1ef7d3f9e0e26d4b23d1c39b5f5de71f584dd7d1b4ef83d9bbba6ec7a6a6459", + "https://bcr.bazel.build/modules/zlib/1.2.11/MODULE.bazel": "07b389abc85fdbca459b69e2ec656ae5622873af3f845e1c9d80fe179f3effa0", + "https://bcr.bazel.build/modules/zlib/1.2.12/MODULE.bazel": "3b1a8834ada2a883674be8cbd36ede1b6ec481477ada359cd2d3ddc562340b27", + "https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/MODULE.bazel": "af322bc08976524477c79d1e45e241b6efbeb918c497e8840b8ab116802dda79", + "https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/source.json": "2be409ac3c7601245958cd4fcdff4288be79ed23bd690b4b951f500d54ee6e7d" + }, + "selectedYankedVersions": {}, + "moduleExtensions": { + "@@apple_support~//crosstool:setup.bzl%apple_cc_configure_extension": { + "general": { + "bzlTransitiveDigest": "PjIds3feoYE8SGbbIq2SFTZy3zmxeO2tQevJZNDo7iY=", + "usagesDigest": "+hz7IHWN6A1oVJJWNDB6yZRG+RYhF76wAYItpAeIUIg=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "local_config_apple_cc_toolchains": { + "bzlFile": "@@apple_support~//crosstool:setup.bzl", + "ruleClassName": "_apple_cc_autoconf_toolchains", + "attributes": {} + }, + "local_config_apple_cc": { + "bzlFile": "@@apple_support~//crosstool:setup.bzl", + "ruleClassName": "_apple_cc_autoconf", + "attributes": {} + } + }, + "recordedRepoMappingEntries": [ + [ + "apple_support~", + "bazel_tools", + "bazel_tools" + ] + ] + } + }, + "@@bazel_arm~//:rules.bzl%arm_toolchain_extension": { + "general": { + "bzlTransitiveDigest": "yhG4cuE33xrTg1899GVrnPxoVuL0styRNi9REX7J8D0=", + "usagesDigest": "sG9WM2gxNSpvySTGhu3bY5RNa6s9j6ua1rTrpbFXYXY=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "archive_arm-local-arm-none-eabi-latest": { + "bzlFile": "@@bazel_arm~//:rules.bzl", + "ruleClassName": "arm_compiler_archive", + "attributes": { + "toolchain_type": "arm-none-eabi", + "toolchain_version": "latest", + "registry_json": "{\"arm-none-eabi\":{\"11.3\":{\"archives\":{\"darwin_x86_64\":{\"sha256\":\"97621C58F246F38135DA38F6CA8197A23190C01650C8265BE3346895C3FC34D2\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-darwin-x86_64-arm-none-eabi.tar.xz?rev=0f93cc5b9df1473dabc1f39b06feb468&hash=7DF6BEF69DFDF7226B812B30BF45F552\"},\"linux_aarch64\":{\"sha256\":\"6C713C11D018DCECC16161F822517484A13AF151480BBB722BADD732412EB55E\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-aarch64-arm-none-eabi.tar.xz?rev=82c9a3730e454ab6b8101952cd700cda&hash=A484F380E7D73DF3C5F13CA6EBB954D5\"},\"linux_x86_64\":{\"sha256\":\"D420D87F68615D9163B99BBB62FE69E85132DC0A8CD69FCA04E813597FE06121\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi.tar.xz?rev=95edb5e17b9d43f28c74ce824f9c6f10&hash=D5ACE3A6F75F603551D7702E00ED7B29\"},\"windows_x86_64\":{\"sha256\":\"23F24595AA575FBA4FDB0CB086DF4B053862AF60837502CB7E52BD4FB3D76C36\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-mingw-w64-i686-arm-none-eabi.zip?rev=82f0e95b5a7740d9899e6ce375df8106&hash=E8C79FCFC43534AC1D691CBEE00F34D0\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"11.3.1\"},\"toolchain\":\"arm-none-eabi\",\"version\":\"11.3.rel1\",\"version-short\":\"11.3\"},\"11.3.rel1\":{\"archives\":{\"darwin_x86_64\":{\"sha256\":\"97621C58F246F38135DA38F6CA8197A23190C01650C8265BE3346895C3FC34D2\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-darwin-x86_64-arm-none-eabi.tar.xz?rev=0f93cc5b9df1473dabc1f39b06feb468&hash=7DF6BEF69DFDF7226B812B30BF45F552\"},\"linux_aarch64\":{\"sha256\":\"6C713C11D018DCECC16161F822517484A13AF151480BBB722BADD732412EB55E\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-aarch64-arm-none-eabi.tar.xz?rev=82c9a3730e454ab6b8101952cd700cda&hash=A484F380E7D73DF3C5F13CA6EBB954D5\"},\"linux_x86_64\":{\"sha256\":\"D420D87F68615D9163B99BBB62FE69E85132DC0A8CD69FCA04E813597FE06121\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi.tar.xz?rev=95edb5e17b9d43f28c74ce824f9c6f10&hash=D5ACE3A6F75F603551D7702E00ED7B29\"},\"windows_x86_64\":{\"sha256\":\"23F24595AA575FBA4FDB0CB086DF4B053862AF60837502CB7E52BD4FB3D76C36\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-mingw-w64-i686-arm-none-eabi.zip?rev=82f0e95b5a7740d9899e6ce375df8106&hash=E8C79FCFC43534AC1D691CBEE00F34D0\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"11.3.1\"},\"toolchain\":\"arm-none-eabi\",\"version\":\"11.3.rel1\",\"version-short\":\"11.3\"},\"12.3\":{\"archives\":{\"darwin_x86_64\":{\"sha256\":\"A475C9CF491D4FFC2EBF04BE3E9DC557729AD011BC1837DFAA1BA55B867272FA\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-darwin-arm64-arm-none-eabi.pkg?rev=4edd4cb671024bd1aa96ef07a799f4cd&hash=2D2A4C3320AFF774F1B814636A668DEB\"},\"linux_aarch64\":{\"sha256\":\"14C0487D5753F6071D24E568881F7C7E67F80DD83165DEC5164B3731394AF431\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-aarch64-arm-none-eabi.tar.xz?rev=420215e7c8d14d90b5227eb5486d8c75&hash=315EF6A79273453E2306E2E9F52D80E1\"},\"linux_x86_64\":{\"sha256\":\"12A2815644318EBCCEAF84BEABB665D0924B6E79E21048452C5331A56332B309\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz?rev=dccb66bb394240a98b87f0f24e70e87d&hash=B788763BE143D9396B59AA91DBA056B6\"},\"windows_x86_64\":{\"sha256\":\"D52888BF59C5262EBF3E6B19B9F9E6270ECB60FD218CF81A4E793946E805A654\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-mingw-w64-i686-arm-none-eabi.zip?rev=e6948d78806d4815912a858a6f6a85f6&hash=B20A83F31B9938D5EF819B14924A67E3\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"12.3.1\"},\"toolchain\":\"arm-none-eabi\",\"version\":\"12.3.rel1\",\"version-short\":\"12.3\"},\"12.3.rel1\":{\"archives\":{\"darwin_x86_64\":{\"sha256\":\"A475C9CF491D4FFC2EBF04BE3E9DC557729AD011BC1837DFAA1BA55B867272FA\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-darwin-arm64-arm-none-eabi.pkg?rev=4edd4cb671024bd1aa96ef07a799f4cd&hash=2D2A4C3320AFF774F1B814636A668DEB\"},\"linux_aarch64\":{\"sha256\":\"14C0487D5753F6071D24E568881F7C7E67F80DD83165DEC5164B3731394AF431\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-aarch64-arm-none-eabi.tar.xz?rev=420215e7c8d14d90b5227eb5486d8c75&hash=315EF6A79273453E2306E2E9F52D80E1\"},\"linux_x86_64\":{\"sha256\":\"12A2815644318EBCCEAF84BEABB665D0924B6E79E21048452C5331A56332B309\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz?rev=dccb66bb394240a98b87f0f24e70e87d&hash=B788763BE143D9396B59AA91DBA056B6\"},\"windows_x86_64\":{\"sha256\":\"D52888BF59C5262EBF3E6B19B9F9E6270ECB60FD218CF81A4E793946E805A654\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-mingw-w64-i686-arm-none-eabi.zip?rev=e6948d78806d4815912a858a6f6a85f6&hash=B20A83F31B9938D5EF819B14924A67E3\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"12.3.1\"},\"toolchain\":\"arm-none-eabi\",\"version\":\"12.3.rel1\",\"version-short\":\"12.3\"},\"13.2\":{\"archives\":{\"darwin_x86_64\":{\"sha256\":\"075FAA4F3E8EB45E59144858202351A28706F54A6EC17EEDD88C9FB9412372CC\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-darwin-x86_64-arm-none-eabi.tar.xz?rev=a3d8c87bb0af4c40b7d7e0e291f6541b&hash=10927356ACA904E1A0122794E036E8DDE7D8435D\"},\"linux_aarch64\":{\"sha256\":\"8FD8B4A0A8D44AB2E195CCFBEEF42223DFB3EDE29D80F14DCF2183C34B8D199A\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-aarch64-arm-none-eabi.tar.xz?rev=17baf091942042768d55c9a304610954&hash=7F32B9E3ADFAFC4F8F74C30EBBBFECEB1AC96B60\"},\"linux_x86_64\":{\"sha256\":\"6CD1BBC1D9AE57312BCD169AE283153A9572BD6A8E4EEAE2FEDFBC33B115FDBB\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz?rev=e434b9ea4afc4ed7998329566b764309&hash=688C370BF08399033CA9DE3C1CC8CF8E31D8C441\"},\"windows_x86_64\":{\"sha256\":\"51D933F00578AA28016C5E3C84F94403274EA7915539F8E56C13E2196437D18F\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-arm-none-eabi.zip?rev=93fda279901c4c0299e03e5c4899b51f&hash=A3C5FF788BE90810E121091C873E3532336C8D46\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"13.2.1\"},\"toolchain\":\"arm-none-eabi\",\"version\":\"13.2.rel1\",\"version-short\":\"13.2\"},\"13.2.rel1\":{\"archives\":{\"darwin_x86_64\":{\"sha256\":\"075FAA4F3E8EB45E59144858202351A28706F54A6EC17EEDD88C9FB9412372CC\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-darwin-x86_64-arm-none-eabi.tar.xz?rev=a3d8c87bb0af4c40b7d7e0e291f6541b&hash=10927356ACA904E1A0122794E036E8DDE7D8435D\"},\"linux_aarch64\":{\"sha256\":\"8FD8B4A0A8D44AB2E195CCFBEEF42223DFB3EDE29D80F14DCF2183C34B8D199A\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-aarch64-arm-none-eabi.tar.xz?rev=17baf091942042768d55c9a304610954&hash=7F32B9E3ADFAFC4F8F74C30EBBBFECEB1AC96B60\"},\"linux_x86_64\":{\"sha256\":\"6CD1BBC1D9AE57312BCD169AE283153A9572BD6A8E4EEAE2FEDFBC33B115FDBB\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz?rev=e434b9ea4afc4ed7998329566b764309&hash=688C370BF08399033CA9DE3C1CC8CF8E31D8C441\"},\"windows_x86_64\":{\"sha256\":\"51D933F00578AA28016C5E3C84F94403274EA7915539F8E56C13E2196437D18F\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-arm-none-eabi.zip?rev=93fda279901c4c0299e03e5c4899b51f&hash=A3C5FF788BE90810E121091C873E3532336C8D46\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"13.2.1\"},\"toolchain\":\"arm-none-eabi\",\"version\":\"13.2.rel1\",\"version-short\":\"13.2\"},\"13.3\":{\"archives\":{\"darwin_aarch64\":{\"sha256\":\"FB6921DB95D345DC7E5E487DD43B745E3A5B4D5C0C7CA4F707347148760317B4\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-darwin-arm64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-darwin-arm64-arm-none-eabi.tar.xz\"},\"darwin_x86_64\":{\"sha256\":\"1AB00742D1ED0926E6F227DF39D767F8EFAB46F5250505C29CB81F548222D794\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-darwin-arm64-aarch64-none-elf.tar.xz\"},\"linux_aarch64\":{\"sha256\":\"C8824BFFD057AFCE2259F7618254E840715F33523A3D4E4294F471208F976764\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi.tar.xz\"},\"linux_x86_64\":{\"sha256\":\"95C011CEE430E64DD6087C75C800F04B9C49832CC1000127A92A97F9C8D83AF4\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz\"},\"windows_x86_64\":{\"sha256\":\"E46FDA043C0CE83582BC8DB4B3EF85F77F4BEB7333344C2F4193C17E1167A095\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-mingw-w64-i686-arm-none-eabi.zip\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"13.3.1\"},\"latest\":true,\"toolchain\":\"arm-none-eabi\",\"version\":\"13.3.rel1\",\"version-short\":\"13.3\"},\"13.3.rel1\":{\"archives\":{\"darwin_aarch64\":{\"sha256\":\"FB6921DB95D345DC7E5E487DD43B745E3A5B4D5C0C7CA4F707347148760317B4\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-darwin-arm64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-darwin-arm64-arm-none-eabi.tar.xz\"},\"darwin_x86_64\":{\"sha256\":\"1AB00742D1ED0926E6F227DF39D767F8EFAB46F5250505C29CB81F548222D794\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-darwin-arm64-aarch64-none-elf.tar.xz\"},\"linux_aarch64\":{\"sha256\":\"C8824BFFD057AFCE2259F7618254E840715F33523A3D4E4294F471208F976764\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi.tar.xz\"},\"linux_x86_64\":{\"sha256\":\"95C011CEE430E64DD6087C75C800F04B9C49832CC1000127A92A97F9C8D83AF4\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz\"},\"windows_x86_64\":{\"sha256\":\"E46FDA043C0CE83582BC8DB4B3EF85F77F4BEB7333344C2F4193C17E1167A095\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-mingw-w64-i686-arm-none-eabi.zip\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"13.3.1\"},\"latest\":true,\"toolchain\":\"arm-none-eabi\",\"version\":\"13.3.rel1\",\"version-short\":\"13.3\"},\"latest\":{\"archives\":{\"darwin_aarch64\":{\"sha256\":\"FB6921DB95D345DC7E5E487DD43B745E3A5B4D5C0C7CA4F707347148760317B4\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-darwin-arm64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-darwin-arm64-arm-none-eabi.tar.xz\"},\"darwin_x86_64\":{\"sha256\":\"1AB00742D1ED0926E6F227DF39D767F8EFAB46F5250505C29CB81F548222D794\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-darwin-arm64-aarch64-none-elf.tar.xz\"},\"linux_aarch64\":{\"sha256\":\"C8824BFFD057AFCE2259F7618254E840715F33523A3D4E4294F471208F976764\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi.tar.xz\"},\"linux_x86_64\":{\"sha256\":\"95C011CEE430E64DD6087C75C800F04B9C49832CC1000127A92A97F9C8D83AF4\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz\"},\"windows_x86_64\":{\"sha256\":\"E46FDA043C0CE83582BC8DB4B3EF85F77F4BEB7333344C2F4193C17E1167A095\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-mingw-w64-i686-arm-none-eabi.zip\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"13.3.1\"},\"latest\":true,\"toolchain\":\"arm-none-eabi\",\"version\":\"13.3.rel1\",\"version-short\":\"13.3\"}}}", + "override_host_name": "local" + } + }, + "test": { + "bzlFile": "@@bazel_arm~//:rules.bzl", + "ruleClassName": "_arm_toolchain", + "attributes": { + "toolchain_type": "arm-none-eabi", + "toolchain_version": "latest", + "registry_json": "{\"arm-none-eabi\":{\"11.3\":{\"archives\":{\"darwin_x86_64\":{\"sha256\":\"97621C58F246F38135DA38F6CA8197A23190C01650C8265BE3346895C3FC34D2\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-darwin-x86_64-arm-none-eabi.tar.xz?rev=0f93cc5b9df1473dabc1f39b06feb468&hash=7DF6BEF69DFDF7226B812B30BF45F552\"},\"linux_aarch64\":{\"sha256\":\"6C713C11D018DCECC16161F822517484A13AF151480BBB722BADD732412EB55E\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-aarch64-arm-none-eabi.tar.xz?rev=82c9a3730e454ab6b8101952cd700cda&hash=A484F380E7D73DF3C5F13CA6EBB954D5\"},\"linux_x86_64\":{\"sha256\":\"D420D87F68615D9163B99BBB62FE69E85132DC0A8CD69FCA04E813597FE06121\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi.tar.xz?rev=95edb5e17b9d43f28c74ce824f9c6f10&hash=D5ACE3A6F75F603551D7702E00ED7B29\"},\"windows_x86_64\":{\"sha256\":\"23F24595AA575FBA4FDB0CB086DF4B053862AF60837502CB7E52BD4FB3D76C36\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-mingw-w64-i686-arm-none-eabi.zip?rev=82f0e95b5a7740d9899e6ce375df8106&hash=E8C79FCFC43534AC1D691CBEE00F34D0\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"11.3.1\"},\"toolchain\":\"arm-none-eabi\",\"version\":\"11.3.rel1\",\"version-short\":\"11.3\"},\"11.3.rel1\":{\"archives\":{\"darwin_x86_64\":{\"sha256\":\"97621C58F246F38135DA38F6CA8197A23190C01650C8265BE3346895C3FC34D2\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-darwin-x86_64-arm-none-eabi.tar.xz?rev=0f93cc5b9df1473dabc1f39b06feb468&hash=7DF6BEF69DFDF7226B812B30BF45F552\"},\"linux_aarch64\":{\"sha256\":\"6C713C11D018DCECC16161F822517484A13AF151480BBB722BADD732412EB55E\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-aarch64-arm-none-eabi.tar.xz?rev=82c9a3730e454ab6b8101952cd700cda&hash=A484F380E7D73DF3C5F13CA6EBB954D5\"},\"linux_x86_64\":{\"sha256\":\"D420D87F68615D9163B99BBB62FE69E85132DC0A8CD69FCA04E813597FE06121\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi.tar.xz?rev=95edb5e17b9d43f28c74ce824f9c6f10&hash=D5ACE3A6F75F603551D7702E00ED7B29\"},\"windows_x86_64\":{\"sha256\":\"23F24595AA575FBA4FDB0CB086DF4B053862AF60837502CB7E52BD4FB3D76C36\",\"strip_prefix\":\"arm-gnu-toolchain-11.3.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/11.3.rel1/binrel/arm-gnu-toolchain-11.3.rel1-mingw-w64-i686-arm-none-eabi.zip?rev=82f0e95b5a7740d9899e6ce375df8106&hash=E8C79FCFC43534AC1D691CBEE00F34D0\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"11.3.1\"},\"toolchain\":\"arm-none-eabi\",\"version\":\"11.3.rel1\",\"version-short\":\"11.3\"},\"12.3\":{\"archives\":{\"darwin_x86_64\":{\"sha256\":\"A475C9CF491D4FFC2EBF04BE3E9DC557729AD011BC1837DFAA1BA55B867272FA\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-darwin-arm64-arm-none-eabi.pkg?rev=4edd4cb671024bd1aa96ef07a799f4cd&hash=2D2A4C3320AFF774F1B814636A668DEB\"},\"linux_aarch64\":{\"sha256\":\"14C0487D5753F6071D24E568881F7C7E67F80DD83165DEC5164B3731394AF431\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-aarch64-arm-none-eabi.tar.xz?rev=420215e7c8d14d90b5227eb5486d8c75&hash=315EF6A79273453E2306E2E9F52D80E1\"},\"linux_x86_64\":{\"sha256\":\"12A2815644318EBCCEAF84BEABB665D0924B6E79E21048452C5331A56332B309\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz?rev=dccb66bb394240a98b87f0f24e70e87d&hash=B788763BE143D9396B59AA91DBA056B6\"},\"windows_x86_64\":{\"sha256\":\"D52888BF59C5262EBF3E6B19B9F9E6270ECB60FD218CF81A4E793946E805A654\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-mingw-w64-i686-arm-none-eabi.zip?rev=e6948d78806d4815912a858a6f6a85f6&hash=B20A83F31B9938D5EF819B14924A67E3\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"12.3.1\"},\"toolchain\":\"arm-none-eabi\",\"version\":\"12.3.rel1\",\"version-short\":\"12.3\"},\"12.3.rel1\":{\"archives\":{\"darwin_x86_64\":{\"sha256\":\"A475C9CF491D4FFC2EBF04BE3E9DC557729AD011BC1837DFAA1BA55B867272FA\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-darwin-arm64-arm-none-eabi.pkg?rev=4edd4cb671024bd1aa96ef07a799f4cd&hash=2D2A4C3320AFF774F1B814636A668DEB\"},\"linux_aarch64\":{\"sha256\":\"14C0487D5753F6071D24E568881F7C7E67F80DD83165DEC5164B3731394AF431\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-aarch64-arm-none-eabi.tar.xz?rev=420215e7c8d14d90b5227eb5486d8c75&hash=315EF6A79273453E2306E2E9F52D80E1\"},\"linux_x86_64\":{\"sha256\":\"12A2815644318EBCCEAF84BEABB665D0924B6E79E21048452C5331A56332B309\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-x86_64-arm-none-eabi.tar.xz?rev=dccb66bb394240a98b87f0f24e70e87d&hash=B788763BE143D9396B59AA91DBA056B6\"},\"windows_x86_64\":{\"sha256\":\"D52888BF59C5262EBF3E6B19B9F9E6270ECB60FD218CF81A4E793946E805A654\",\"strip_prefix\":\"arm-gnu-toolchain-12.3.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-mingw-w64-i686-arm-none-eabi.zip?rev=e6948d78806d4815912a858a6f6a85f6&hash=B20A83F31B9938D5EF819B14924A67E3\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"12.3.1\"},\"toolchain\":\"arm-none-eabi\",\"version\":\"12.3.rel1\",\"version-short\":\"12.3\"},\"13.2\":{\"archives\":{\"darwin_x86_64\":{\"sha256\":\"075FAA4F3E8EB45E59144858202351A28706F54A6EC17EEDD88C9FB9412372CC\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-darwin-x86_64-arm-none-eabi.tar.xz?rev=a3d8c87bb0af4c40b7d7e0e291f6541b&hash=10927356ACA904E1A0122794E036E8DDE7D8435D\"},\"linux_aarch64\":{\"sha256\":\"8FD8B4A0A8D44AB2E195CCFBEEF42223DFB3EDE29D80F14DCF2183C34B8D199A\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-aarch64-arm-none-eabi.tar.xz?rev=17baf091942042768d55c9a304610954&hash=7F32B9E3ADFAFC4F8F74C30EBBBFECEB1AC96B60\"},\"linux_x86_64\":{\"sha256\":\"6CD1BBC1D9AE57312BCD169AE283153A9572BD6A8E4EEAE2FEDFBC33B115FDBB\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz?rev=e434b9ea4afc4ed7998329566b764309&hash=688C370BF08399033CA9DE3C1CC8CF8E31D8C441\"},\"windows_x86_64\":{\"sha256\":\"51D933F00578AA28016C5E3C84F94403274EA7915539F8E56C13E2196437D18F\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-arm-none-eabi.zip?rev=93fda279901c4c0299e03e5c4899b51f&hash=A3C5FF788BE90810E121091C873E3532336C8D46\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"13.2.1\"},\"toolchain\":\"arm-none-eabi\",\"version\":\"13.2.rel1\",\"version-short\":\"13.2\"},\"13.2.rel1\":{\"archives\":{\"darwin_x86_64\":{\"sha256\":\"075FAA4F3E8EB45E59144858202351A28706F54A6EC17EEDD88C9FB9412372CC\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-darwin-x86_64-arm-none-eabi.tar.xz?rev=a3d8c87bb0af4c40b7d7e0e291f6541b&hash=10927356ACA904E1A0122794E036E8DDE7D8435D\"},\"linux_aarch64\":{\"sha256\":\"8FD8B4A0A8D44AB2E195CCFBEEF42223DFB3EDE29D80F14DCF2183C34B8D199A\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-aarch64-arm-none-eabi.tar.xz?rev=17baf091942042768d55c9a304610954&hash=7F32B9E3ADFAFC4F8F74C30EBBBFECEB1AC96B60\"},\"linux_x86_64\":{\"sha256\":\"6CD1BBC1D9AE57312BCD169AE283153A9572BD6A8E4EEAE2FEDFBC33B115FDBB\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz?rev=e434b9ea4afc4ed7998329566b764309&hash=688C370BF08399033CA9DE3C1CC8CF8E31D8C441\"},\"windows_x86_64\":{\"sha256\":\"51D933F00578AA28016C5E3C84F94403274EA7915539F8E56C13E2196437D18F\",\"strip_prefix\":\"arm-gnu-toolchain-13.2.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-arm-none-eabi.zip?rev=93fda279901c4c0299e03e5c4899b51f&hash=A3C5FF788BE90810E121091C873E3532336C8D46\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"13.2.1\"},\"toolchain\":\"arm-none-eabi\",\"version\":\"13.2.rel1\",\"version-short\":\"13.2\"},\"13.3\":{\"archives\":{\"darwin_aarch64\":{\"sha256\":\"FB6921DB95D345DC7E5E487DD43B745E3A5B4D5C0C7CA4F707347148760317B4\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-darwin-arm64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-darwin-arm64-arm-none-eabi.tar.xz\"},\"darwin_x86_64\":{\"sha256\":\"1AB00742D1ED0926E6F227DF39D767F8EFAB46F5250505C29CB81F548222D794\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-darwin-arm64-aarch64-none-elf.tar.xz\"},\"linux_aarch64\":{\"sha256\":\"C8824BFFD057AFCE2259F7618254E840715F33523A3D4E4294F471208F976764\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi.tar.xz\"},\"linux_x86_64\":{\"sha256\":\"95C011CEE430E64DD6087C75C800F04B9C49832CC1000127A92A97F9C8D83AF4\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz\"},\"windows_x86_64\":{\"sha256\":\"E46FDA043C0CE83582BC8DB4B3EF85F77F4BEB7333344C2F4193C17E1167A095\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-mingw-w64-i686-arm-none-eabi.zip\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"13.3.1\"},\"latest\":true,\"toolchain\":\"arm-none-eabi\",\"version\":\"13.3.rel1\",\"version-short\":\"13.3\"},\"13.3.rel1\":{\"archives\":{\"darwin_aarch64\":{\"sha256\":\"FB6921DB95D345DC7E5E487DD43B745E3A5B4D5C0C7CA4F707347148760317B4\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-darwin-arm64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-darwin-arm64-arm-none-eabi.tar.xz\"},\"darwin_x86_64\":{\"sha256\":\"1AB00742D1ED0926E6F227DF39D767F8EFAB46F5250505C29CB81F548222D794\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-darwin-arm64-aarch64-none-elf.tar.xz\"},\"linux_aarch64\":{\"sha256\":\"C8824BFFD057AFCE2259F7618254E840715F33523A3D4E4294F471208F976764\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi.tar.xz\"},\"linux_x86_64\":{\"sha256\":\"95C011CEE430E64DD6087C75C800F04B9C49832CC1000127A92A97F9C8D83AF4\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz\"},\"windows_x86_64\":{\"sha256\":\"E46FDA043C0CE83582BC8DB4B3EF85F77F4BEB7333344C2F4193C17E1167A095\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-mingw-w64-i686-arm-none-eabi.zip\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"13.3.1\"},\"latest\":true,\"toolchain\":\"arm-none-eabi\",\"version\":\"13.3.rel1\",\"version-short\":\"13.3\"},\"latest\":{\"archives\":{\"darwin_aarch64\":{\"sha256\":\"FB6921DB95D345DC7E5E487DD43B745E3A5B4D5C0C7CA4F707347148760317B4\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-darwin-arm64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-darwin-arm64-arm-none-eabi.tar.xz\"},\"darwin_x86_64\":{\"sha256\":\"1AB00742D1ED0926E6F227DF39D767F8EFAB46F5250505C29CB81F548222D794\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.Rel1-darwin-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-darwin-arm64-aarch64-none-elf.tar.xz\"},\"linux_aarch64\":{\"sha256\":\"C8824BFFD057AFCE2259F7618254E840715F33523A3D4E4294F471208F976764\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-aarch64-arm-none-eabi.tar.xz\"},\"linux_x86_64\":{\"sha256\":\"95C011CEE430E64DD6087C75C800F04B9C49832CC1000127A92A97F9C8D83AF4\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi.tar.xz\"},\"windows_x86_64\":{\"sha256\":\"E46FDA043C0CE83582BC8DB4B3EF85F77F4BEB7333344C2F4193C17E1167A095\",\"strip_prefix\":\"arm-gnu-toolchain-13.3.Rel1-mingw-w64-i686-arm-none-eabi\",\"url\":\"https://developer.arm.com/-/media/Files/downloads/gnu/13.3.rel1/binrel/arm-gnu-toolchain-13.3.rel1-mingw-w64-i686-arm-none-eabi.zip\"}},\"details\":{\"build_file\":\"compiler.BUILD_arm\",\"compiler_version\":\"13.3.1\"},\"latest\":true,\"toolchain\":\"arm-none-eabi\",\"version\":\"13.3.rel1\",\"version-short\":\"13.3\"}}}", + "add_toolchain_linkdirs": true, + "exec_compatible_with": [], + "target_compatible_with": [], + "copts": [], + "conlyopts": [], + "cxxopts": [], + "linkopts": [ + "-specs=nosys.specs" + ], + "defines": [], + "includedirs": [], + "linkdirs": [], + "linklibs": [], + "dbg_copts": [], + "dbg_linkopts": [], + "opt_copts": [], + "opt_linkopts": [], + "toolchain_extras_filegroups": [], + "compiler_archive_package": "@@bazel_arm~~arm_toolchain_extension~archive_arm-local-arm-none-eabi-latest//:archive_arm-local-arm-none-eabi-latest", + "override_host_name": "local" + } + } + }, + "recordedRepoMappingEntries": [ + [ + "bazel_arm~", + "bazel_skylib", + "bazel_skylib~" + ], + [ + "bazel_arm~", + "bazel_utilities", + "bazel_utilities~" + ] + ] + } + }, + "@@platforms//host:extension.bzl%host_platform": { + "general": { + "bzlTransitiveDigest": "xelQcPZH8+tmuOHVjL9vDxMnnQNMlwj0SlvgoqBkm4U=", + "usagesDigest": "hgylFkgWSg0ulUwWZzEM1aIftlUnbmw2ynWLdEfHnZc=", + "recordedFileInputs": {}, + "recordedDirentsInputs": {}, + "envVariables": {}, + "generatedRepoSpecs": { + "host_platform": { + "bzlFile": "@@platforms//host:extension.bzl", + "ruleClassName": "host_platform_repo", + "attributes": {} + } + }, + "recordedRepoMappingEntries": [] + } + } + } +} diff --git a/README.md b/README.md index b07003b..000619b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,34 @@ +[![bazel_arm/arm-none-eabi](https://github.com/0-Sacha/bazel_arm/actions/workflows/arm-none-eabi.yml/badge.svg)](https://github.com/0-Sacha/bazel_arm/actions/workflows/arm-none-eabi.yml) + # bazel_arm Bazel module for using an hermetic arm toolchain. -Currently only arm-none-eabi is support with latest version is 13.2.1 +Currently only `arm-none-eabi` is supported with latest version is 13.2.1 + You can checkout [bazel_stm32](https://github.com/0-Sacha/bazel_stm32) that use this toolchain to provide a STM32 toolchain. + +## How to Use +MODULE.bazel +```python +bazel_dep(name = "rules_cc", version = "0.0.10") +bazel_dep(name = "platforms", version = "0.0.10") + +# use the latest commit avaible +git_override(module_name="bazel_utilities", remote="https://github.com/0-Sacha/bazel_utilities.git", commit="fbb17685ac9ba78fef914a322e6c37839dc16d4f") +git_override(module_name="bazel_arm", remote="https://github.com/0-Sacha/bazel_arm.git", commit="32db016c62be695f42cebc9be21f6cf6e3994a0d") + +bazel_dep(name = "bazel_utilities", version = "0.0.1", dev_dependency = True) +bazel_dep(name = "bazel_arm", version = "0.0.1", dev_dependency = True) + +arm_toolchain_extension = use_extension("@bazel_arm//:rules.bzl", "arm_toolchain_extension", dev_dependency = True) +inject_repo(arm_toolchain_extension, "platforms", "bazel_utilities") +arm_toolchain_extension.arm_toolchain( + name = "my_repo_name", + toolchain_type = "arm-none-eabi", + linkopts = [ + "-specs=nosys.specs" + ], +) +use_repo(arm_toolchain_extension, "my_repo_name") +register_toolchains("@my_repo_name//:toolchain") +``` diff --git a/rules.bzl b/rules.bzl index c4ab436..a502202 100644 --- a/rules.bzl +++ b/rules.bzl @@ -2,7 +2,7 @@ load("@bazel_skylib//lib:sets.bzl", "sets") load("@bazel_utilities//toolchains:extras_filegroups.bzl", "filegroup_translate_to_starlark") -load("@bazel_utilities//toolchains:hosts.bzl", "get_host_infos_from_rctx", "HOST_EXTENSION") +load("@bazel_utilities//toolchains:hosts.bzl", "get_host_infos_from_rctx", "split_host_name", "HOST_EXTENSION") load("@bazel_utilities//toolchains:registry.bzl", "get_archive_from_registry") load("//:registry.bzl", "ARM_REGISTRY") @@ -272,28 +272,30 @@ def arm_toolchain( def _arm_toolchain_extension_impl(module_ctx): toolchain_versions_list = [ - (toolchain.override_host_name, toolchain.arm_version) + (toolchain.override_host_name, toolchain.toolchain_type, toolchain.toolchain_version) for mod in module_ctx.modules for toolchain in mod.tags.arm_toolchain ] if len(toolchain_versions_list) == 0: - winlibs_toolchain_list.append(("local", "latest")) + print("Should not end here ! You probably forgotten to put a mandatory argument to the arm_toolchain rule ") toolchain_versions_list = sets.to_list(sets.make(toolchain_versions_list)) arm_registry = ARM_REGISTRY for toolchain_version in toolchain_versions_list: arm_compiler_archive( - name = "archive_arm-{}-{}".format(toolchains_version[0], toolchains_version[1]), - arm_version = toolchains_version[1], + name = "archive_arm-{}-{}-{}".format(toolchain_version[0], toolchain_version[1], toolchain_version[2]), + toolchain_type = toolchain_version[1], + toolchain_version = toolchain_version[2], registry_json = json.encode(arm_registry), - override_host_name = toolchains_version[0], + override_host_name = toolchain_version[0], ) for mod in module_ctx.modules: for toolchain in mod.tags.arm_toolchain: arm_toolchain( name = toolchain.name, - arm_version = toolchain.arm_version, + toolchain_type = toolchain.toolchain_type, + toolchain_version = toolchain.toolchain_version, exec_compatible_with = toolchain.exec_compatible_with, target_compatible_with = toolchain.target_compatible_with, @@ -309,7 +311,7 @@ def _arm_toolchain_extension_impl(module_ctx): toolchain_extras_filegroups = toolchain.toolchain_extras_filegroups, - compiler_archive_package = "@archive_arm-{}-{}".format(toolchain.override_host_name, toolchain.arm_version), + compiler_archive_package = "@archive_arm-{}-{}-{}".format(toolchain.override_host_name, toolchain.toolchain_type, toolchain.toolchain_version), override_host_name = toolchain.override_host_name, )