Skip to content

Commit 2aef3a9

Browse files
Merge remote-tracking branch 'remote/main' into dec_funcs
1 parent e58a06b commit 2aef3a9

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/basic_cli_build_release.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,24 @@ jobs:
8080
- name: Download the previously uploaded roc_nightly archives
8181
uses: actions/download-artifact@v4
8282

83+
- name: Install musl tools
84+
run: |
85+
sudo apt-get update
86+
sudo apt-get install -y musl-tools musl-dev gcc-aarch64-linux-gnu
87+
88+
- name: Check versions
89+
run: |
90+
uname -a
91+
clang-18 --version
92+
llvm-ar-18 --version
93+
rust-lld --version
94+
8395
- name: build basic-cli
8496
env:
8597
CARGO_BUILD_TARGET: aarch64-unknown-linux-musl
86-
# CC_aarch64_unknown_linux_musl: clang-18
87-
# AR_aarch64_unknown_linux_musl: llvm-ar-18
88-
# CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS: "-Clink-self-contained=yes -Clinker=rust-lld"
98+
CC_aarch64_unknown_linux_musl: clang-18
99+
AR_aarch64_unknown_linux_musl: llvm-ar-18
100+
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS: "-Clink-self-contained=yes -Clinker=rust-lld -Ctarget-feature=+crt-static"
89101
run: ./ci/build_basic_cli.sh linux_arm64
90102

91103
- name: Save .a file

0 commit comments

Comments
 (0)