mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-12 09:53:57 +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
|
llvm-toolchain-18 (1:18.1.6-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New upstream release
|
* New upstream release
|
||||||
|
7
debian/qualify-clang.sh
vendored
7
debian/qualify-clang.sh
vendored
@ -1252,7 +1252,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# libc
|
# libc
|
||||||
echo "Testing llvmlibc-$VERSION-dev ..."
|
if dpkg -l|grep -q libllvmlibc-$VERSION-dev; then
|
||||||
|
echo "Testing libllvmlibc-$VERSION-dev ..."
|
||||||
echo '
|
echo '
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
int main(void)
|
int main(void)
|
||||||
@ -1287,6 +1288,10 @@ fi
|
|||||||
|
|
||||||
BINDIR=$(llvm-config-$VERSION --bindir)
|
BINDIR=$(llvm-config-$VERSION --bindir)
|
||||||
/usr/lib/llvm-$VERSION/share/libclc/check_external_calls.sh /usr/lib/clc/amdgcn--amdhsa.bc $BINDIR > /dev/null
|
/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
|
# libunwind
|
||||||
echo "Testing libunwind-$VERSION-dev ..."
|
echo "Testing libunwind-$VERSION-dev ..."
|
||||||
|
Loading…
Reference in New Issue
Block a user