Skip to content

RFC: keep mainstream toolchain versioning format #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Aliases/arm-gcc-bin
1 change: 1 addition & 0 deletions Aliases/arm-gcc-bin@10
1 change: 1 addition & 0 deletions Aliases/arm-gcc-bin@8
1 change: 1 addition & 0 deletions Aliases/arm-gcc-bin@9
2 changes: 1 addition & 1 deletion Formula/[email protected] → Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class ArmGccBinAT10 < Formula
class ArmGccBinAT102020Q4Major < Formula
desc "Pre-built GNU toolchain for Arm Cortex-M and Cortex-R processors"
homepage "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm"
url "https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-mac.tar.bz2"
Expand Down
2 changes: 1 addition & 1 deletion Formula/[email protected] → Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class ArmGccBinAT8 < Formula
class ArmGccBinAT82019Q3Update < Formula
desc "Pre-built GNU toolchain for Arm Cortex-M and Cortex-R processors"
homepage "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm"
url "https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2019q3/RC1.1/gcc-arm-none-eabi-8-2019-q3-update-mac.tar.bz2"
Expand Down
17 changes: 17 additions & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
class ArmGccBinAT92019Q4Major < Formula
desc "Pre-built GNU toolchain for Arm Cortex-M and Cortex-R processors"
homepage "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm"
url "https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-mac.tar.bz2"
version "9-2019-q4-major"
sha256 "1249f860d4155d9c3ba8f30c19e7a88c5047923cea17e0d08e633f12408f01f0"

keg_only <<~EOS
it may interfere with another version of arm-gcc-bin.
This is useful if you want to have multiple versions installed
EOS

def install
bin.install Dir["bin/*"]
prefix.install Dir["arm-none-eabi", "lib", "share"]
end
end
2 changes: 1 addition & 1 deletion Formula/[email protected] → Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class ArmGccBinAT9 < Formula
class ArmGccBinAT92020Q2Update < Formula
desc "Pre-built GNU toolchain for Arm Cortex-M and Cortex-R processors"
homepage "https://developer.arm.com/open-source/gnu-toolchain/gnu-rm"
url "https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-mac.tar.bz2"
Expand Down
4 changes: 4 additions & 0 deletions formula_renames.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"arm-gcc-bin@8": "arm-gcc-bin@8-2019-q3-update",
"arm-gcc-bin@9": "arm-gcc-bin@9-2020-q2-update"
}