Skip to content

v4: Update GNU and NAG Flags, fixes for Baselibs ESMF on macOS

Choose a tag to compare

@mathomp4 mathomp4 released this 15 Sep 17:28
· 13 commits to release/v4 since this release
f6a5256

This release of ESMA_cmake v4 updates the GNU and NAG flags. We also fix issues between Baselibs, ESMF, and macOS.


From CHANGELOG.md

Changed

  • Update GNU Debug flags to omit -ffpe-trap on macOS (APPLE) to prevent hardware SIGILL crashes in external C++ libraries (such as ESMF) on IEEE 754 division by zero
  • Update NAG Fortran Debug flags to expand -C=all and exclude -C=calls to prevent runtime interface-check table corruption at certain MAPL call sites

Fixed

  • In ConfigureBaselibs.cmake, normalize malformed Apple framework entries
    exported by affected ESMF CMake packages, avoiding framework names being
    rewritten as -l libraries by newer CMake versions.

What's Changed

  • v4: Fix ESMF framework links on macOS by @mathomp4 in #582
  • v4: Update GNU macOS and NAG Fortran Debug flags by @mathomp4 in #584

Full Changelog: v4.46.0...v4.47.0