Skip to content

Commit

Permalink
🐛 (formula): Fix arm-gcc-bin@13 tar_file_sha location
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed May 24, 2024
1 parent 24248af commit 1295df6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ class ArmGccBinAT13 < Formula
"arm-gnu-toolchain-13.2.rel1-darwin-x86_64-arm-none-eabi.tar.xz"
end

@tar_file_sha = if Hardware::CPU.arm?
"39c44f8af42695b7b871df42e346c09fee670ea8dfc11f17083e296ea2b0d279"
else
"075faa4f3e8eb45e59144858202351a28706f54a6ec17eedd88c9fb9412372cc"
end

desc "Pre-built GNU toolchain for Arm Cortex-M and Cortex-R processors"
homepage "https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads"
url "https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/#{@tar_file}"
Expand All @@ -19,12 +25,6 @@ class ArmGccBinAT13 < Formula
sha256 cellar: :any_skip_relocation, monterey: "b2ea7549fb70b7a69438a814c84bd9ef637b33ee93ec135842e82b787aa1db34"
end

@tar_file_sha = if Hardware::CPU.arm?
"39c44f8af42695b7b871df42e346c09fee670ea8dfc11f17083e296ea2b0d279"
else
"075faa4f3e8eb45e59144858202351a28706f54a6ec17eedd88c9fb9412372cc"
end

depends_on "xz" unless Hardware::CPU.arm?

keg_only <<~KEG_ONLY_EOS
Expand Down

0 comments on commit 1295df6

Please sign in to comment.