Skip to content

v4: Fix NAG build on macOS - #618

Merged
mathomp4 merged 3 commits into
release/v4from
feature/wjiang/macos_nag
Dec 2, 2026
Merged

mathomp4 merged 3 commits into
release/v4from
feature/wjiang/macos_nag

Conversation

@mathomp4

@mathomp4 mathomp4 commented Dec 2, 2026

Copy link
Copy Markdown
Member

Replaces #617 after renaming the v4 branch from feature/v4-macos-nag to feature/wjiang/macos_nag.

Port of #609 to release/v4:

  • Add MPI_Gather, MPI_Isend, MPI_Alltoallv to -wmismatch list
  • Add -maxcontin=1000 (allow >255 continuation lines like other compilers)
  • On APPLE, unset CMAKE_Fortran_FRAMEWORK_SEARCH_FLAG since nagfor rejects -F
  • On APPLE, pass -Wc,-ffp-exception-behavior=maytrap to avoid spurious FP exceptions from clang
  • On APPLE, link a constructor to initialize the NAG OpenMP runtime at load time
  • Add 4.56.0 changelog entry

weiyuan-jiang and others added 3 commits December 2, 2026 07:44
- Add MPI_Gather, MPI_Isend, MPI_Alltoallv to -wmismatch list
- Add -maxcontin=1000 (allow >255 continuation lines like other compilers)
- On APPLE, unset CMAKE_Fortran_FRAMEWORK_SEARCH_FLAG since nagfor rejects -F
@mathomp4
mathomp4 requested a review from a team as a code owner December 2, 2026 14:12
@mathomp4 mathomp4 added the 0 diff The changes in this pull request have verified to be zero-diff with the target branch. label Dec 2, 2026
@mathomp4
mathomp4 merged commit 65f7979 into release/v4 Dec 2, 2026
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 diff The changes in this pull request have verified to be zero-diff with the target branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants