mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2026-01-07 02:19:59 +00:00
update of the test
This commit is contained in:
parent
474bfccad3
commit
77682082f8
8
debian/qualify-clang.sh
vendored
8
debian/qualify-clang.sh
vendored
@ -187,9 +187,8 @@ int main(void) {
|
||||
clang-$VERSION foo.c -fopenmp -o o
|
||||
./o > /dev/null
|
||||
|
||||
|
||||
if test ! -f /usr/lib/llvm-$VERSION/lib/libomp.so; then
|
||||
echo "Install libomp-$VERSION-dev";
|
||||
if test ! -f /usr/lib/llvm-$VERSION/include/c++/v1/vector; then
|
||||
echo "Install libc++-$VERSION-dev";
|
||||
exit -1;
|
||||
fi
|
||||
|
||||
@ -226,6 +225,9 @@ clang++-$VERSION -std=c++11 -stdlib=libc++ foo.cpp -o o
|
||||
./o > /dev/null
|
||||
clang++-$VERSION -std=c++14 -stdlib=libc++ foo.cpp -lc++experimental -o o
|
||||
./o > /dev/null
|
||||
# Force the usage of libc++abi (should be implicit)
|
||||
clang++-$VERSION -stdlib=libc++ -lc++abi foo.cpp -o o
|
||||
./o > /dev/null
|
||||
|
||||
# fs from C++17
|
||||
echo '
|
||||
|
||||
Loading…
Reference in New Issue
Block a user