From 86b65186eac47588aeea67798eab2d9138d5d21e Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Wed, 7 Oct 2020 14:08:00 +0200 Subject: [PATCH] Change the previous commit to include only amd64 and i386 --- debian/qualify-clang.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/qualify-clang.sh b/debian/qualify-clang.sh index 0913c844..2be8a8c5 100755 --- a/debian/qualify-clang.sh +++ b/debian/qualify-clang.sh @@ -345,7 +345,7 @@ if test $NBLINES -lt 100; then exit 42 fi -if [ $DEB_HOST_ARCH != "arm64" -a $DEB_HOST_ARCH != "armhf" -a $DEB_HOST_ARCH != "ppc64el" ]; then +if [ $DEB_HOST_ARCH == "amd64" -o $DEB_HOST_ARCH == "i386" ]; then # Fails on arm64 with # /usr/lib/llvm-10/lib/clang/10.0.0/include/mmintrin.h:33:5: error: use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'? echo '#include ' > foo.cc @@ -811,7 +811,7 @@ if ! grep "No such file or directory" foo.log; then if ! ./a.out 2>&1 | grep -q -E "(Test unit written|PreferSmall)"; then echo "fuzzer. Output:" ./a.out || true - if [ $DEB_HOST_ARCH != "arm64" -a $DEB_HOST_ARCH != "armhf" -a $DEB_HOST_ARCH != "ppc64el" ]; then + if [ $DEB_HOST_ARCH == "amd64" -o $DEB_HOST_ARCH == "i386" ]; then # Don't fail on arm64 and ppc64el exit 42 fi