File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -80,12 +80,24 @@ jobs:
80
80
- name : Download the previously uploaded roc_nightly archives
81
81
uses : actions/download-artifact@v4
82
82
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
+
83
95
- name : build basic-cli
84
96
env :
85
97
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 "
89
101
run : ./ci/build_basic_cli.sh linux_arm64
90
102
91
103
- name : Save .a file
You can’t perform that action at this time.
0 commit comments