Skip to content

Commit

Permalink
ci: Disable LLVM 16 installation for AArch64 image
Browse files Browse the repository at this point in the history
This commit disables the LLVM 16 installation for the AArch64 CI Docker
image because the LLVM APT repository currently contains broken
packages for the AArch64 architecture (note that the x86-64
architecture is not affected).

Revert this commit when this issue is fixed in the LLVM APT repository.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
  • Loading branch information
stephanosio committed Apr 27, 2023
1 parent fb0c335 commit 9c8b9da
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@ RUN mkdir -p /opt/bsim_west && \
RUN cargo install uefi-run --root /usr

# Install LLVM and Clang
RUN wget ${WGET_ARGS} https://apt.llvm.org/llvm.sh && \
# FIXME: AArch64 is disabled because the LLVM APT repository contains broken
# packages for it.
RUN if [ "${HOSTTYPE}" != "aarch64" ]; then \
wget ${WGET_ARGS} https://apt.llvm.org/llvm.sh && \
chmod +x llvm.sh && \
./llvm.sh ${LLVM_VERSION} all && \
rm -f llvm.sh
rm -f llvm.sh \
; fi

# Install sparse package for static analysis
RUN mkdir -p /opt/sparse && \
Expand Down

0 comments on commit 9c8b9da

Please sign in to comment.