mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-12 07:46:16 +00:00
autopkgtest: only run libllvmlibc test on supported archs
This commit is contained in:
parent
212ecd5e0f
commit
d5a73bd2c9
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
llvm-toolchain-18 (1:18.1.6-2) unstable; urgency=medium
|
||||
|
||||
* autopkgtest: only run libllvmlibc test on supported archs
|
||||
|
||||
--
|
||||
|
||||
llvm-toolchain-18 (1:18.1.6-1) unstable; urgency=medium
|
||||
|
||||
* New upstream release
|
||||
|
7
debian/qualify-clang.sh
vendored
7
debian/qualify-clang.sh
vendored
@ -1252,7 +1252,8 @@ else
|
||||
fi
|
||||
|
||||
# libc
|
||||
echo "Testing llvmlibc-$VERSION-dev ..."
|
||||
if dpkg -l|grep -q libllvmlibc-$VERSION-dev; then
|
||||
echo "Testing libllvmlibc-$VERSION-dev ..."
|
||||
echo '
|
||||
#include <math.h>
|
||||
int main(void)
|
||||
@ -1287,6 +1288,10 @@ fi
|
||||
|
||||
BINDIR=$(llvm-config-$VERSION --bindir)
|
||||
/usr/lib/llvm-$VERSION/share/libclc/check_external_calls.sh /usr/lib/clc/amdgcn--amdhsa.bc $BINDIR > /dev/null
|
||||
else
|
||||
echo "Skipping testing libllvmlibc-$VERSION-dev ..."
|
||||
echo "doesn't exist on this arch"
|
||||
fi
|
||||
|
||||
# libunwind
|
||||
echo "Testing libunwind-$VERSION-dev ..."
|
||||
|
Loading…
Reference in New Issue
Block a user