mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-12 11:27:43 +00:00
qualify-clang.sh : check for the output
This commit is contained in:
parent
bf07c1c7c8
commit
1a6ec19234
11
debian/qualify-clang.sh
vendored
11
debian/qualify-clang.sh
vendored
@ -1059,7 +1059,16 @@ clang++-$VERSION -std=c++20 \
|
|||||||
# The output should be
|
# The output should be
|
||||||
# Hello modular world
|
# Hello modular world
|
||||||
# Hello compat modular world
|
# Hello compat modular world
|
||||||
./a.out
|
./a.out > foo.log
|
||||||
|
|
||||||
|
if ! grep -q -E "Hello modular world" foo.log 2>&1; then
|
||||||
|
echo "c++ modules didn't work"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if ! grep -q -E "Hello compat modular world" foo.log 2>&1; then
|
||||||
|
echo "c++ modules didn't work"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if test ! -f /usr/lib/llvm-$VERSION/include/cxxabi.h; then
|
if test ! -f /usr/lib/llvm-$VERSION/include/cxxabi.h; then
|
||||||
echo "Install libc++abi-$VERSION-dev";
|
echo "Install libc++abi-$VERSION-dev";
|
||||||
|
Loading…
Reference in New Issue
Block a user