mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-15 16:07:01 +00:00
Only run this test with clang-7
This commit is contained in:
parent
a0f73e1bb3
commit
ace867c06e
4
debian/qualify-clang.sh
vendored
4
debian/qualify-clang.sh
vendored
@ -383,9 +383,10 @@ echo 'int main() {
|
||||
' > foo.c
|
||||
clang-$VERSION -g -o bar foo.c
|
||||
|
||||
# ABI issue between gcc & clang
|
||||
# ABI issue between gcc & clang with clang 7
|
||||
# https://bugs.llvm.org/show_bug.cgi?id=39427
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913271
|
||||
if test $VERSION -eq 7; then
|
||||
echo '
|
||||
#include <llvm/ADT/ArrayRef.h>
|
||||
#include <llvm/ADT/Optional.h>
|
||||
@ -427,6 +428,7 @@ if test -f /usr/bin/g++; then
|
||||
./foo
|
||||
fi
|
||||
rm part1.o part2.o
|
||||
fi
|
||||
|
||||
if test ! -f /usr/lib/llvm-$VERSION/lib/libomp.so; then
|
||||
echo "Install libomp-$VERSION-dev";
|
||||
|
Loading…
Reference in New Issue
Block a user