Skip to content

Commit

Permalink
use the musl gcc
Browse files Browse the repository at this point in the history
Joinhack committed Dec 28, 2024
1 parent 344e82d commit c44f885
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/runtime_release_linux.yml
Original file line number Diff line number Diff line change
@@ -48,7 +48,10 @@ jobs:
run: |
echo `pwd`
sudo apt install gcc-aarch64-linux-gnu
sudo apt-get install build-essential gcc musl-tools musl-dev make perl dkms
curl https://musl.cc/aarch64-linux-musl-cross.tgz -o aarch64-linux-musl-cross.tgz
tar xzvf aarch64-linux-musl-cross.tgz
echo `pwd`
sudo apt-get install build-essential gcc musl-tools musl-dev make perl dkms
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
@@ -60,6 +63,7 @@ jobs:
- name: Build runtime
uses: actions-rs/cargo@v1
env:
PATH: "$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"

0 comments on commit c44f885

Please sign in to comment.