Skip to content

Commit a8c8338

Browse files
authored
Merge pull request #19 from aparcar/arm-unknown-linux-musleabihf
arm-unknown-linux-musleabihf: add target
2 parents 89bff5f + 9c39156 commit a8c8338

File tree

3 files changed

+1026
-0
lines changed

3 files changed

+1026
-0
lines changed

.github/workflows/aarch64.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- armv7-unknown-linux-musleabihf
2929
- arm-unknown-linux-gnueabi
3030
- arm-unknown-linux-gnueabihf
31+
- arm-unknown-linux-musleabihf
3132
steps:
3233
- uses: actions/checkout@v2
3334
- name: Install crosstool-ng

arm-unknown-linux-musleabihf.rb

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
class ArmUnknownLinuxMusleabihf < Formula
2+
desc "arm Linux MUSL eabihf Toolchain"
3+
homepage "https://github.com/messense/homebrew-macos-cross-toolchains"
4+
license "GPL-3.0-or-later" => { with: "GCC-exception-3.1" }
5+
version "11.2.0"
6+
7+
depends_on "bdw-gc"
8+
depends_on "guile"
9+
depends_on "zstd"
10+
depends_on "python@3.10"
11+
12+
if Hardware::CPU.arm?
13+
url "https://github.com/messense/homebrew-macos-cross-toolchains/releases/download/v11.2.0/arm-unknown-linux-musleabihf-aarch64-darwin.tar.gz"
14+
sha256 "0089dae44e7cde8b3b7e133ea6401887134144a0e159b8b6a2a8be4816910cbf"
15+
else
16+
url "https://github.com/messense/homebrew-macos-cross-toolchains/releases/download/v11.2.0/arm-unknown-linux-musleabihf-x86_64-darwin.tar.gz"
17+
sha256 "68c6a53b4dbf6cba229efebe1d2768e087089291ac8cfb74b8cebca8ddd6bdfa"
18+
end
19+
20+
def install
21+
(prefix/"toolchain").install Dir["./*"]
22+
Dir.glob(prefix/"toolchain/bin/*") {|file| bin.install_symlink file}
23+
end
24+
end

0 commit comments

Comments
 (0)