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

v5.0.x: configury: patch configure to support nvfortran #12879

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

bosilca
Copy link
Member

@bosilca bosilca commented Oct 23, 2024

nvfortran needs to be passed -fPIC when building shared libraries, so patch the generated configure script in order to properly handle nvfortran:

  • add nvfortran to the list of known fortran compilers
  • pass -fPIC to the compiler

Refs. #8919
Backport of #12722

Signed-off-by: Gilles Gouaillardet [email protected]
Signed-off-by: George Bosilca [email protected]
(cherry picked from commit ccd6415)

nvfortran needs to be passed -fPIC when building shared libraries,
so patch the generated configure script in order to properly
handle nvfortran:
- add nvfortran to the list of known fortran compilers
- pass -fPIC to the compiler

Refs. open-mpi#8919

Signed-off-by: Gilles Gouaillardet <[email protected]>
Signed-off-by: George Bosilca <[email protected]>
(cherry picked from commit ccd6415)
@github-actions github-actions bot added this to the v5.0.6 milestone Oct 23, 2024
@jsquyres jsquyres changed the title configury: patch configure to support nvfortran v5.0.x: configury: patch configure to support nvfortran Oct 23, 2024
@janjust janjust merged commit 0ebc462 into open-mpi:v5.0.x Oct 30, 2024
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants