Skip to content

Commit

Permalink
use the musl gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
Joinhack committed Dec 28, 2024
1 parent c44f885 commit cb41490
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/runtime_release_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
sudo apt install gcc-aarch64-linux-gnu
curl https://musl.cc/aarch64-linux-musl-cross.tgz -o aarch64-linux-musl-cross.tgz
tar xzvf aarch64-linux-musl-cross.tgz
sudo mv aarch64-linux-musl-cross /
echo `pwd`
sudo apt-get install build-essential gcc musl-tools musl-dev make perl dkms
- uses: actions-rs/toolchain@v1
Expand All @@ -63,7 +64,7 @@ jobs:
- name: Build runtime
uses: actions-rs/cargo@v1
env:
PATH: "$PATH:/aarch64-linux-musl-cross/bin"
PATH: ${{ env.PATH }}:/aarch64-linux-musl-cross/bin
RUSTFLAGS: "-C link-arg=-L/usr/local/lib"
LD_LIBRARY_PATH: "$LD_LIBRARY_PATH:/usr/local/lib"
DYLD_LIBRARY_PATH: "$DYLD_LIBRARY_PATH:/usr/local/lib"
Expand Down

0 comments on commit cb41490

Please sign in to comment.