diff --git a/Utils/scripts/analysis.sh b/Utils/scripts/analysis.sh index 72d1d7d11079141391c6ae6c562b84ef56c2a93e..4a813c6d20ed4a11b0830d6d65b7112f036540ec 100644 --- a/Utils/scripts/analysis.sh +++ b/Utils/scripts/analysis.sh @@ -5,8 +5,8 @@ # build with proper options cd Build && cmake .. -DSCALFMM_USE_LOG=ON -DSCALFMM_USE_ASSERT=ON -DSCALFMM_USE_SSE=OFF -DSCALFMM_USE_BLAS=ON -DSCALFMM_USE_FFT=ON -DSCALFMM_USE_MPI=ON -DSCALFMM_BUILD_EXAMPLES=ON -DSCALFMM_BUILD_TESTS=ON -DSCALFMM_BUILD_UTESTS=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_CXX_FLAGS="-O0 -g -fPIC --coverage -Wall -fdiagnostics-show-option -fno-inline" -DCMAKE_EXE_LINKER_FLAGS="--coverage" -DCMAKE_C_COMPILER=gcc-6 -DCMAKE_CXX_COMPILER=g++-6 -# make with clang analyzer -scan-build -plist --intercept-first --analyze-headers -o analyzer_reports make 2>&1 | tee scalfmm-build.log +# make with clang analyzer (failure ...) +#scan-build -plist --intercept-first --analyze-headers -o analyzer_reports make 2>&1 | tee scalfmm-build.log # ctest : build and run tests + coverage + submit to cdash OMP_NUM_THREADS=4 ctest --no-compress-output -V -j 5 -D ExperimentalBuild -D ExperimentalTest -D ExperimentalCoverage -D ExperimentalSubmit 2>&1 | tee -a ../scalfmm-build.log cd .. @@ -36,6 +36,7 @@ sonar.links.issue=https://gitlab.inria.fr/solverstack/ScalFMM/issues sonar.projectKey=scalfmm sonar.projectName=Scalfmm sonar.projectDescription=C++ library that implements a kernel independent Fast Multipole Method (LGPL+CeCILL-C) +sonar.projectVersion=git sonar.branch.name=develop sonar.language=c++ sonar.sources=Build/Src/ScalFmmConfig.h, Examples, Src, Tests, UTests @@ -45,7 +46,7 @@ sonar.cxx.compiler.charset=UTF-8 sonar.cxx.compiler.regex=^(.*):(\\d+):\\d+: warning: (.*)\\[(.*)\\]$ sonar.cxx.compiler.reportPath=scalfmm-build.log sonar.cxx.coverage.reportPath=scalfmm-coverage.xml -#sonar.cxx.cppcheck.reportPath=scalfmm-cppcheck.xml sonar.cxx.rats.reportPath=scalfmm-rats.xml -sonar.c.clangsa.reportPath=build/analyzer_reports/*/*.plist +#sonar.cxx.cppcheck.reportPath=scalfmm-cppcheck.xml +#sonar.c.clangsa.reportPath=build/analyzer_reports/*/*.plist EOF