Skip to content
Snippets Groups Projects
Commit ce33c1f2 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Do not report errors from lapack and blas

Apparently with the changes in the CPP macros cppcheck
now scan the whole blas/lapack source and complains.

I removed these complaining from the fatal ones
parent 111bb515
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ cppcheck --std=c++03 --std=posix -j 4 --platform=unix64 \ ...@@ -26,7 +26,7 @@ cppcheck --std=c++03 --std=posix -j 4 --platform=unix64 \
## perhaps we could keep some of them to make to code cleaner at some point ## perhaps we could keep some of them to make to code cleaner at some point
## ##
## (the "true" command is necessary so that the script does not fail if some string is not found) ## (the "true" command is necessary so that the script does not fail if some string is not found)
grep -v "(style)" cppcheck.log | grep -v "\[molfile/" > cppcheck.fatal || true grep -v "(style)" cppcheck.log | grep -v "\[molfile/" | grep -v "\[lapack/" | grep -v "\[blas/"> cppcheck.fatal || true
count=$(cat cppcheck.fatal | wc -l) count=$(cat cppcheck.fatal | wc -l)
echo echo
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment