Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
Disable address and leak sanitizer by default
Browse files Browse the repository at this point in the history
HighFive v2.4.1 leaks memory every time an exception is thrown.
This is a known issue (BlueBrain/HighFive#479)
and has been fixed by this PR: BlueBrain/HighFive#583,
but the fix has not yet landed in a release.

Remember to revert this commit when HighFive v2.4.2 is released.
  • Loading branch information
robomics committed Aug 1, 2022
1 parent 483a8c7 commit fd6f555
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ set(ENABLE_INTERPROCEDURAL_OPTIMIZATION_DEFAULT OFF)
set(ENABLE_NATIVE_OPTIMIZATION_DEFAULT OFF)
set(ENABLE_PCH_DEFAULT OFF)

# HighFive 2.4.1 leaks memory every time an exception is thrown.
# Disable leak and address sanitizer until this issue is fixed
set(ENABLE_SANITIZER_ADDRESS_DEFAULT OFF)
set(ENABLE_SANITIZER_LEAK_DEFAULT OFF)

dynamic_project_options(
# CLANG_WARNINGS # Override the defaults for the CLANG warnings GCC_WARNINGS # Override the defaults for the GCC
CPPCHECK_OPTIONS
Expand Down

0 comments on commit fd6f555

Please sign in to comment.