From 1295df612f697149ff8c72ddf06e15ec589b14b9 Mon Sep 17 00:00:00 2001 From: Ladislas de Toldi Date: Fri, 24 May 2024 12:41:41 +0200 Subject: [PATCH] :bug: (formula): Fix arm-gcc-bin@13 tar_file_sha location --- Formula/arm-gcc-bin@13.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Formula/arm-gcc-bin@13.rb b/Formula/arm-gcc-bin@13.rb index fbf5996..754eeef 100644 --- a/Formula/arm-gcc-bin@13.rb +++ b/Formula/arm-gcc-bin@13.rb @@ -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}" @@ -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