dbcsr
dbcsr copied to clipboard
Include leak and thread sanitize checkers
Include in GNU tests:
-
[x]
-fsanitize=leak
-
[ ]
-fsanitize=thread
, check https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561 and CP2K toolchain -
[ ] Others?
Leak sanitizer is now included (see https://github.com/cp2k/dbcsr/commit/833941727e5e9c677ac784e048d3a4671679f606 ). It requires to add a suppression file.
Need to exclude OpenMPI because of some internal leaks.
Added flags -fsanitize=undefined -fsanitize=address -fsanitize-recover=all
only for Debug compilation (not in the CI) because of some false-positive warnings.