mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-04 03:05:17 +00:00
Fix OpenMP test failing at ci.debian.net
This commit is contained in:
parent
4b21480b15
commit
f260dc5371
4
debian/qualify-clang.sh
vendored
4
debian/qualify-clang.sh
vendored
@ -180,7 +180,7 @@ if test ! -f /usr/lib/llvm-$VERSION/lib/libomp.so; then
|
||||
fi
|
||||
|
||||
# OpenMP
|
||||
echo '
|
||||
cat <<EOF > foo.c
|
||||
//test.c
|
||||
#include "omp.h"
|
||||
#include <stdio.h>
|
||||
@ -189,7 +189,7 @@ int main(void) {
|
||||
#pragma omp parallel
|
||||
printf("thread %d\n", omp_get_thread_num());
|
||||
}
|
||||
' > foo.c
|
||||
EOF
|
||||
clang-$VERSION foo.c -fopenmp -o o
|
||||
./o > /dev/null
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user