Commit 7b587b9b authored by Sylvestre Ledru's avatar Sylvestre Ledru

add some packages check

parent 88ab2e80
......@@ -149,6 +149,12 @@ echo 'int main() {
' > foo.c
clang++-$VERSION -g -o bar foo.c
if test ! -f /usr/lib/llvm-$VERSION/lib/libomp.so; then
echo "Install libomp-$VERSION-dev";
exit -1;
fi
# OpenMP
echo '
//test.c
......@@ -197,6 +203,11 @@ clang-$VERSION -fsanitize=efficiency-working-set -o foo foo.c
./foo > /dev/null || true
if test ! -f /usr/lib/llvm-$VERSION/lib/libclangToolingInclusions.a; then
echo "Install libclang-$VERSION-dev";
exit -1;
fi
rm -rf cmaketest && mkdir cmaketest
cat > cmaketest/CMakeLists.txt <<EOF
cmake_minimum_required(VERSION 2.8.12)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment