From d728a4d46a0a22c1e1eb5fb353b15884538ffa59 Mon Sep 17 00:00:00 2001 From: Leandro Lisboa Penz Date: Sun, 3 Sep 2023 21:21:04 +0100 Subject: [PATCH] Install libclang-rt-dev if possible Required by clang asan in Debian Bookworm. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index dbfa881..d5bce21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,6 +23,8 @@ RUN set -e -x; \ file dpkg-dev \ # base system (su) util-linux; \ + # In bookworm we need libclang-rt-dev for asan, etc. + apt-get install -y --no-install-recommends libclang-rt-dev || true; \ # ctest -D ExperimentalMemCheck; may not work in all architectures apt-get install -y --no-install-recommends valgrind || true; \ # setup su for dep installation