Use clang-19 in jenkins
Some checks failed
weaselab/conflict-set/pipeline/head There was a failure building this commit

This commit is contained in:
2024-10-15 15:55:33 -07:00
parent 9db5eb960d
commit 7ad6872ee8

View File

@@ -11,25 +11,27 @@ RUN TZ=America/Los_Angeles DEBIAN_FRONTEND=noninteractive apt-get install -y \
binutils-aarch64-linux-gnu \ binutils-aarch64-linux-gnu \
build-essential \ build-essential \
ccache \ ccache \
clang \
cmake \ cmake \
curl \ curl \
doxygen \
file \
g++-aarch64-linux-gnu \ g++-aarch64-linux-gnu \
gcovr \ gcovr \
git \ git \
gperf \ gnupg \
graphviz \
libc6-dbg \ libc6-dbg \
lsb-release \
ninja-build \ ninja-build \
pre-commit \ pre-commit \
python3-requests \ python3-requests \
qemu-user \ qemu-user \
rpm \ rpm \
software-properties-common \
texlive-full \ texlive-full \
wget \
zstd zstd
# Recent clang
RUN wget https://apt.llvm.org/llvm.sh && chmod +x ./llvm.sh && ./llvm.sh 19
# Install recent valgrind from source # Install recent valgrind from source
RUN curl -Ls https://sourceware.org/pub/valgrind/valgrind-3.22.0.tar.bz2 -o valgrind.tar.bz2 && \ RUN curl -Ls https://sourceware.org/pub/valgrind/valgrind-3.22.0.tar.bz2 -o valgrind.tar.bz2 && \
echo "c811db5add2c5f729944caf47c4e7a65dcaabb9461e472b578765dd7bf6d2d4c valgrind.tar.bz2" > valgrind-sha.txt && \ echo "c811db5add2c5f729944caf47c4e7a65dcaabb9461e472b578765dd7bf6d2d4c valgrind.tar.bz2" > valgrind-sha.txt && \
@@ -43,6 +45,8 @@ RUN curl -Ls https://sourceware.org/pub/valgrind/valgrind-3.22.0.tar.bz2 -o valg
cd .. && \ cd .. && \
rm -rf /tmp/* rm -rf /tmp/*
RUN apt-get install clang
# Set after building valgrind, which doesn't build with clang for some reason # Set after building valgrind, which doesn't build with clang for some reason
ENV CC=clang ENV CC=clang
ENV CXX=clang++ ENV CXX=clang++