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

open-mpi: Use new Apple linker for mpicc/mpicxx #171426

Merged
merged 6 commits into from
May 17, 2024

Commits on May 17, 2024

  1. open-mpi: Use new Apple linker for mpicc/mpicxx

    A flag to force the ld_classic linker was added in Homebrew#144554 to avoid issues with Xcode 15. However, some time between then and now (Xcode 15.3 and macOS Sonoma 14.4.1) the new linker seems to work for C/C++, although the Fortran test still fails when ld_new is used. In this PR, I have limited the ld_classic flag to only apply to mpifort wrapper compiler. My motivation for switching to the new linker for C++ is that it solves linker failures when I try to compile my C++ project with mpicxx -flto=auto and g++-14 as the host compiler.
    lukeshingles authored and p-linnane committed May 17, 2024
    Configuration menu
    Copy the full SHA
    1d59f4f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4940f2d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9aee370 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6857072 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f5017de View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    79e2c8d View commit details
    Browse the repository at this point in the history