Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce: AMReX_ADDRLINES (Default: ON) #3784

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Commits on Mar 2, 2024

  1. Introduce: AMReX_ADDRLINES (Default: ON)

    This is addign the new CMake option `AMReX_ADDRLINES` and CMake public
    interface target `AMReX::Flags_ADDRLINES`. This option adds
    *minimal* debug info (`-g1` / `-gline-tables-only`) to executables,
    which generates more usable backtraces on crashes.
    
    In symmetry to GNUmake, we turn this now ON. This is a breaking change.
    
    Note that this flag still creates significant binary size overheads,
    so package managers might decide to turn if off in deployments. Also,
    if the increased binary sizes lead to significant startup overhead
    at scale on HPC systems, we might need to reconsider the default
    (for CMake and GNUmake) in the future.
    ax3l committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    6a43082 View commit details
    Browse the repository at this point in the history