Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GILLES Sebastien
MoReFEM
Commits
113d362b
Commit
113d362b
authored
Oct 07, 2019
by
DIAZ Jerome
Committed by
GILLES Sebastien
Oct 29, 2019
Browse files
#1489 First attempt at integrating valgrind memecheck.
parent
fee6ee89
Changes
4
Show whitespace changes
Inline
Side-by-side
ExternalTools/Gitlab-CI/common.yml
View file @
113d362b
...
@@ -3,6 +3,7 @@ stages:
...
@@ -3,6 +3,7 @@ stages:
-
check_warnings
-
check_warnings
-
analysis
-
analysis
-
generate_sonarqube
-
generate_sonarqube
-
valgrind
# As suggested by https://blog.sparksuite.com/7-ways-to-speed-up-gitlab-ci-cd-times-29f60aab69f9
# As suggested by https://blog.sparksuite.com/7-ways-to-speed-up-gitlab-ci-cd-times-29f60aab69f9
variables
:
variables
:
...
...
ExternalTools/Gitlab-CI/generate_yaml.py
View file @
113d362b
...
@@ -62,7 +62,6 @@ class Configuration():
...
@@ -62,7 +62,6 @@ class Configuration():
print
(
' COMPILER: "{}"'
.
format
(
self
.
__compiler
))
print
(
' COMPILER: "{}"'
.
format
(
self
.
__compiler
))
print
(
' MODE: "{}"'
.
format
(
self
.
__mode
))
print
(
' MODE: "{}"'
.
format
(
self
.
__mode
))
print
(
' LIB_NATURE: "{}"'
.
format
(
self
.
__library_type
))
print
(
' LIB_NATURE: "{}"'
.
format
(
self
.
__library_type
))
print
(
' OS: "{}"'
.
format
(
self
.
__os
))
print
(
' IS_ONLY_ONE_LIB: "{}"'
.
format
(
self
.
__is_one_library
))
print
(
' IS_ONLY_ONE_LIB: "{}"'
.
format
(
self
.
__is_one_library
))
...
...
ExternalTools/Gitlab-CI/gitlab-ci-no-macos.yml
View file @
113d362b
...
@@ -16,6 +16,18 @@ build_ubuntu_gcc_debug_several_shared_libraries:
...
@@ -16,6 +16,18 @@ build_ubuntu_gcc_debug_several_shared_libraries:
OS
:
"
ubuntu"
OS
:
"
ubuntu"
IS_ONLY_ONE_LIB
:
"
False"
IS_ONLY_ONE_LIB
:
"
False"
valgrind_memcheck
:
stage
:
valgrind
tags
:
-
ubuntu
-
gcc
-
debug
before_script
:
-
sudo apt install valgrind
script
:
-
cd ${HOME}/Codes/MoReFEM/CoreLibrary/build/Sources
-
valgrind --error-exitcode=1 --log-file=memcheck_matrix_operations.txt --gen-suppressions=all --show-leak-kinds=all --show-reachable=yes --track-origins=yes --leak-check=full --suppressions=${HOME}/Codes/MoReFEM/CoreLibrary/ExternalTools/Valgrind/openmpi.suppr --suppressions=${HOME}/Codes/MoReFEM/CoreLibrary/ExternalTools/Valgrind/libgomp.suppr --suppressions=${HOME}/Codes/MoReFEM/CoreLibrary/ExternalTools/Valgrind/libc.suppr ./MoReFEMTestPetscMatrixOperations -i ${HOME}/Codes/MoReFEM/CoreLibrary/Sources/Test/ThirdParty/PETSc/MatrixOperations/demo.lua
check_ubuntu_gcc_debug_several_shared_libraries
:
check_ubuntu_gcc_debug_several_shared_libraries
:
extends
:
.check_compilation_warning_template_docker
extends
:
.check_compilation_warning_template_docker
tags
:
tags
:
...
...
Sources/Test/ThirdParty/PETSc/MatrixOperations/Model.cpp
View file @
113d362b
...
@@ -207,7 +207,6 @@ namespace MoReFEM::TestNS::PetscNS::MatrixOperationsNS
...
@@ -207,7 +207,6 @@ namespace MoReFEM::TestNS::PetscNS::MatrixOperationsNS
__FILE__
,
__LINE__
,
__FILE__
,
__LINE__
,
Wrappers
::
Petsc
::
DoReuseMatrix
::
yes
);
Wrappers
::
Petsc
::
DoReuseMatrix
::
yes
);
}
}
{
{
IS
rperm
;
IS
rperm
;
IS
cperm
;
IS
cperm
;
...
...
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