[llvm] [libc][workflow] improve ci coverage with windows-2024 and arm ubuntu (PR #123745)
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 09:26:53 PST 2025
================
@@ -42,10 +47,16 @@ jobs:
# - Debian has a multilib setup, so we need to symlink the asm directory.
# For more information, see https://wiki.debian.org/Multiarch/LibraryPathOverview
- name: Prepare dependencies (Ubuntu)
+ shell: bash
run: |
sudo apt-get update
sudo apt-get install -y libmpfr-dev libgmp-dev libmpc-dev ninja-build linux-libc-dev
sudo ln -sf /usr/include/$(uname -p)-linux-gnu/asm /usr/include/asm
+ if [[ $(uname -m) == 'aarch64' ]]; then
+ wget https://github.com/mozilla/sccache/releases/download/v0.9.1/sccache-v0.9.1-aarch64-unknown-linux-musl.tar.gz
+ tar xvaf sccache-v0.9.1-aarch64-unknown-linux-musl.tar.gz
+ sudo cp sccache-v0.9.1-aarch64-unknown-linux-musl/sccache /usr/bin
+ fi
----------------
tstellar wrote:
Can you do a checksum check here like we do [here](https://github.com/llvm/llvm-project/blob/main/.github/workflows/containers/github-action-ci/Dockerfile#L75)
Alternatively, you could use ccache instead of sccache. The ccache-action is able to install ccache on ARM.
https://github.com/llvm/llvm-project/pull/123745
More information about the llvm-commits
mailing list