Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 3252b26d authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

avoid removing cblas/lapacke.h files but exclude it from sources list of cppcheck

parent 0bbe30a0
No related branches found
No related tags found
No related merge requests found
...@@ -73,10 +73,9 @@ analysis: ...@@ -73,10 +73,9 @@ analysis:
- cd .. - cd ..
- genhtml -o coverage chameleon.lcov - genhtml -o coverage chameleon.lcov
- lcov_cobertura.py chameleon.lcov --output chameleon-coverage.xml - lcov_cobertura.py chameleon.lcov --output chameleon-coverage.xml
- rm coreblas/include/cblas.h coreblas/include/lapacke.h coreblas/include/lapacke_config.h coreblas/include/lapacke_mangling.h - export SOURCES_TO_ANALYZE=`bash -c 'find ./build -type d -name CMakeFiles -prune -o -type d -name Testing -prune -o -type f -regex ".*\.c\|.*\.h" -print && \
- export SOURCES_TO_ANALYZE=`bash -c 'find ./build/coreblas ./build/example ./build/include ./build/runtime ./build/compute ./build/control ./build/hqr ./build/testing ./build/timing -regex ".*\.c\|.*\.h" |xargs && \ find . -path ./build -prune -o -type f -regex "^[^z]*\.c" -print && \
find . -path ./build -prune -o -regex "^[^z]*\.c" -print && \ find . -path ./build -prune -o -type f -regex "^[^z]*\.h" ! -name 'lapacke*.h' ! -name 'cblas*.h' -print | xargs'`
find . -path ./build -prune -o -regex "^[^z]*\.h" -print'`
- export UNDEFINITIONS="-UCHAMELEON_USE_CUBLAS_V2 -UCHAMELEON_USE_OPENCL" - export UNDEFINITIONS="-UCHAMELEON_USE_CUBLAS_V2 -UCHAMELEON_USE_OPENCL"
- cppcheck -v -f --language=c --platform=unix64 --enable=all --xml --xml-version=2 --suppress=missingIncludeSystem ${UNDEFINITIONS} ${SOURCES_TO_ANALYZE} ${SOURCES_TO_EXCLUDE} 2> chameleon-cppcheck.xml - cppcheck -v -f --language=c --platform=unix64 --enable=all --xml --xml-version=2 --suppress=missingIncludeSystem ${UNDEFINITIONS} ${SOURCES_TO_ANALYZE} ${SOURCES_TO_EXCLUDE} 2> chameleon-cppcheck.xml
- rats -w 3 --xml ${SOURCES_TO_ANALYZE} > chameleon-rats.xml - rats -w 3 --xml ${SOURCES_TO_ANALYZE} > chameleon-rats.xml
......
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