From 7ad6872ee8041483991ea3a8ce06e51abe5be7cb Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Tue, 15 Oct 2024 15:55:33 -0700 Subject: [PATCH] Use clang-19 in jenkins --- Dockerfile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 186bd75..c7335d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,25 +11,27 @@ RUN TZ=America/Los_Angeles DEBIAN_FRONTEND=noninteractive apt-get install -y \ binutils-aarch64-linux-gnu \ build-essential \ ccache \ - clang \ cmake \ curl \ - doxygen \ - file \ g++-aarch64-linux-gnu \ gcovr \ git \ - gperf \ - graphviz \ + gnupg \ libc6-dbg \ + lsb-release \ ninja-build \ pre-commit \ python3-requests \ qemu-user \ rpm \ + software-properties-common \ texlive-full \ + wget \ zstd +# Recent clang +RUN wget https://apt.llvm.org/llvm.sh && chmod +x ./llvm.sh && ./llvm.sh 19 + # Install recent valgrind from source 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 && \ @@ -43,6 +45,8 @@ RUN curl -Ls https://sourceware.org/pub/valgrind/valgrind-3.22.0.tar.bz2 -o valg cd .. && \ rm -rf /tmp/* +RUN apt-get install clang + # Set after building valgrind, which doesn't build with clang for some reason ENV CC=clang ENV CXX=clang++