* debian/qualify-clang.sh: Skip llvmlibc test, if libomp-dev is not available.

This commit is contained in:
Matthias Klose 2024-09-10 08:00:07 +02:00
parent 2817b88ad9
commit b16df34ac4
2 changed files with 19 additions and 9 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
llvm-toolchain-19 (1:19.1.0~++rc4-6) UNRELEASED; urgency=medium
* debian/qualify-clang.sh: Skip llvmlibc test, if libomp-dev is not available.
-- Matthias Klose <doko@debian.org> Tue, 10 Sep 2024 07:59:17 +0200
llvm-toolchain-19 (1:19.1.0~++rc4-5) unstable; urgency=medium llvm-toolchain-19 (1:19.1.0~++rc4-5) unstable; urgency=medium
* Move the libLLVM.so.1 symlink into llvm-19-dev. Closes: #1081192. * Move the libLLVM.so.1 symlink into llvm-19-dev. Closes: #1081192.

View File

@ -1139,6 +1139,7 @@ else
fi fi
# libc # libc
if dpkg -l libllvmlibc-$VERSION-dev >/dev/null 2>&1; then
echo "Testing llvmlibc-$VERSION-dev ..." echo "Testing llvmlibc-$VERSION-dev ..."
echo ' echo '
#include <math.h> #include <math.h>
@ -1157,6 +1158,9 @@ fi
# segfault for now # segfault for now
./foo || true ./foo || true
else
echo "libllvmlibc check skipped, no libllvmlibc-$VERSION-dev available."
endif
# libclc # libclc
echo "Testing libclc-$VERSION-dev ..." echo "Testing libclc-$VERSION-dev ..."