]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
CI: Install clang with its Recommends
authorSimon McVittie <smcv@collabora.com>
Tue, 1 Oct 2024 13:10:51 +0000 (14:10 +0100)
committerSimon McVittie <smcv@collabora.com>
Tue, 1 Oct 2024 13:30:02 +0000 (14:30 +0100)
On Debian 12, this is necessary to get libclang-rt-14-dev (which
contains the headers for LeakSanitizer) without hard-coding the clang
major version.

Signed-off-by: Simon McVittie <smcv@collabora.com>
tools/ci-install.sh

index b0778c241099408de98088058ea81c153274f0bb..c11665c9f09e8b317fb088e6c74a29b3bf2528b5 100755 (executable)
@@ -126,7 +126,6 @@ case "$ci_distro" in
             adduser
             ca-certificates
             ccache
-            clang
             cmake
             debhelper
             dh-autoreconf
@@ -164,6 +163,12 @@ case "$ci_distro" in
 
         $sudo apt-get -qq -y --no-install-recommends install "${packages[@]}"
 
+        packages=(
+            clang
+        )
+
+        $sudo apt-get -qq -y install "${packages[@]}"
+
         if [ "$ci_in_docker" = yes ]; then
             # Add the user that we will use to do the build inside the
             # Docker container, and let them use sudo