Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Release:
https://github.com/hexdae/toolchains_arm_gnu/releases/tag/v1.0.2

_Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_

---------

Co-authored-by: Davide Asnaghi <[email protected]>
Co-authored-by: d-asnaghi <[email protected]>
  • Loading branch information
3 people committed Jun 19, 2024
1 parent 87eb077 commit 55e391c
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 3 deletions.
37 changes: 37 additions & 0 deletions modules/toolchains_arm_gnu/1.0.2/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
"""ARM cross compilation toolchains for bazel"""

module(
name = "toolchains_arm_gnu",
version = "1.0.2",
compatibility_level = 1,
)

bazel_dep(name = "platforms", version = "0.0.8")
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "bazel_skylib", version = "1.5.0")

# DEV ONLY (not needed for release)
bazel_dep(name = "aspect_bazel_lib", version = "2.0.0", dev_dependency = True)

arm_toolchain = use_extension(
"@toolchains_arm_gnu//:extensions.bzl",
"arm_toolchain",
dev_dependency = True,
)
arm_toolchain.arm_none_eabi()
use_repo(arm_toolchain, "arm_none_eabi")
arm_toolchain.arm_none_linux_gnueabihf()
use_repo(arm_toolchain, "arm_none_linux_gnueabihf")
arm_toolchain.aarch64_none_elf()
use_repo(arm_toolchain, "aarch64_none_elf")
arm_toolchain.aarch64_none_linux_gnu()
use_repo(arm_toolchain, "aarch64_none_linux_gnu")

register_toolchains(
"//test/toolchains:all",
"@aarch64_none_elf//toolchain:all",
"@aarch64_none_linux_gnu//toolchain:all",
"@arm_none_eabi//toolchain:all",
"@arm_none_linux_gnueabihf//toolchain:all",
dev_dependency = True,
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,9 +1,9 @@
"""ARM cross compilation toolchains for bazel"""

module(
name = "toolchains_arm_gnu",
- version = "1.0.0",
+ version = "1.0.2",
compatibility_level = 1,
)

bazel_dep(name = "platforms", version = "0.0.8")
12 changes: 12 additions & 0 deletions modules/toolchains_arm_gnu/1.0.2/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
bcr_test_module:
module_path: "examples/bzlmod"
matrix:
platform: ["debian10", "macos", "ubuntu2004"]
bazel: ["7.x", "6.x"]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
bazel: ${{ bazel }}
test_targets:
- "//..."
9 changes: 9 additions & 0 deletions modules/toolchains_arm_gnu/1.0.2/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-YuSncCMK689fYtY8bSIdLvWWndMYigzQc+Vc5hpfq1A=",
"strip_prefix": "toolchains_arm_gnu-1.0.2",
"url": "https://github.com/hexdae/toolchains_arm_gnu/releases/download/v1.0.2/toolchains_arm_gnu-v1.0.2.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-2suB/94Guqf/a2SgubXOWW7drO+LX3Qb30avnNxuAW0="
},
"patch_strip": 1
}
8 changes: 5 additions & 3 deletions modules/toolchains_arm_gnu/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"homepage": "https://github.com/hexdae/bazel-arm-none-eabi",
"homepage": "https://github.com/hexdae/toolchains_arm_gnu",
"maintainers": [
{
"name": "Davide Asnaghi",
Expand All @@ -8,12 +8,14 @@
}
],
"repository": [
"github:hexdae/bazel-arm-none-eabi"
"github:hexdae/bazel-arm-none-eabi",
"github:hexdae/toolchains_arm_gnu"
],
"versions": [
"0.0.1",
"1.0.0",
"1.0.1"
"1.0.1",
"1.0.2"
],
"yanked_versions": {}
}

0 comments on commit 55e391c

Please sign in to comment.