Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
30dfca5c
Commit
30dfca5c
authored
Mar 14, 2018
by
Mathieu Faverge
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'clangsa' into 'master'
Clangsa See merge request
solverstack/chameleon!95
parents
3137cd2e
07729872
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
.gitlab-ci.yml
.gitlab-ci.yml
+4
-3
tools/analysis.sh
tools/analysis.sh
+4
-1
No files found.
.gitlab-ci.yml
View file @
30dfca5c
...
...
@@ -17,9 +17,10 @@ before_script:
-
echo BUILD_OPTIONS $BUILD_OPTIONS
-
echo VERSION $VERSION
-
(cd build &&
cmake -C ../cmake_modules/gitlab-ci-initial-cache.cmake ..
$BUILD_OPTIONS &&
ctest --no-compress-output -V -j
5
scan-build -plist --intercept-first --analyze-headers -o analyzer_reports
cmake -C ../cmake_modules/gitlab-ci-initial-cache.cmake .. $BUILD_OPTIONS &&
scan-build -plist --intercept-first --analyze-headers -o analyzer_reports
ctest --no-compress-output -V -j
5
-D ExperimentalBuild
-D ExperimentalSubmit
| tee ../chameleon_${VERSION}.log)
...
...
tools/analysis.sh
View file @
30dfca5c
...
...
@@ -35,14 +35,17 @@ sonar.projectVersion=master
sonar.language=c
sonar.sources=build, compute, control, coreblas, example, include, runtime, testing, timing
sonar.inclusions=`cat filelist.txt | xargs echo | sed 's/ /, /g'`
sonar.c.includeDirectories=
$(
echo
| gcc
-E
-Wp
,-v - 2>&1 |
grep
"^ "
|
tr
'\n'
','
)
.,include,coreblas/include,runtime/parsec/include,runtime/quark/include,runtime/starpu/include,build,build/control,build/coreblas,build/coreblas/include,build/include,build/runtime/parsec/include,build/runtime/quark/include,build/runtime/starpu/include,hqr/include,
$PARSEC_DIR
/include,
$QUARK_DIR
/include,
$STARPU_DIR
/include/starpu/1.2,
$SIMGRID_DIR
/include
sonar.sourceEncoding=UTF-8
sonar.c.errorRecoveryEnabled=true
sonar.c.compiler.charset=UTF-8
sonar.c.compiler.parser=GCC
sonar.c.compiler.regex=^(.*):(
\\
d+):
\\
d+: warning: (.*)
\\
[(.*)
\\
]$
sonar.c.compiler.regex=^(.*):(
\\
\
d
+):
\\
\
d
+: warning: (.*)
\\
\
[
(.*)
\\
\
]
$
sonar.c.compiler.reportPath=chameleon_starpu.log, chameleon_starpu_simgrid.log, chameleon_quark.log, chameleon_parsec.log
sonar.c.coverage.reportPath=chameleon_coverage.xml
sonar.c.cppcheck.reportPath=chameleon_cppcheck.xml
sonar.c.rats.reportPath=chameleon_rats.xml
sonar.c.clangsa.reportPath=build/analyzer_reports/*/*.plist
EOF
# run sonar analysis + publish on sonarqube-dev
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment