lephare-photoz / lephare

LePHARE is a code for calculating photometric redshifts.
MIT License
5 stars 1 forks source link

Support address sanitizer builds #207

Closed hdante closed 1 month ago

hdante commented 1 month ago

This patch allows enabling the address sanitizer functionality present in some compilers to detect memory access errors when using the library.

See: https://github.com/google/sanitizers/wiki/AddressSanitizer

Change Description

The patch adds support in the CMakeLists.txt file for enabling address sanitizer builds by setting an environment variable.

Solution Description

Code Quality

Project-Specific Pull Request Checklists

Bug Fix Checklist

New Feature Checklist

Documentation Change Checklist

Build/CI Change Checklist

Other Change Checklist

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.29%. Comparing base (5142d1e) to head (8184443). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #207 +/- ## ======================================= Coverage 66.29% 66.29% ======================================= Files 50 50 Lines 6169 6169 Branches 928 928 ======================================= Hits 4090 4090 Misses 2079 2079 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.