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

enable script-wrapper compilers? #161

Open
minrk opened this issue Jun 10, 2024 · 4 comments
Open

enable script-wrapper compilers? #161

minrk opened this issue Jun 10, 2024 · 4 comments
Labels

Comments

@minrk
Copy link
Member

minrk commented Jun 10, 2024

Comment:

openmpi has --enable-script-wrapper-compilers, which installs mpicc and friends as perl scripts, like mpich does with bash.

If we added this option, packages would no longer require openmpi in their build dependencies (they would require perl, though), because the compiler wrappers would be scripts, not executables. I think this would solve a lot of headaches for folks compiling against openmpi.

Weirdly, the pkg-config files don't seem to be installed. This seems like a bug? They are built and correct, just excluded from install.

@minrk minrk added the question label Jun 10, 2024
@jakirkham
Copy link
Member

Weirdly, the pkg-config files don't seem to be installed. This seems like a bug? They are built and correct, just excluded from install.

xref: open-mpi/ompi#12609

@leofang
Copy link
Member

leofang commented Sep 27, 2024

open-mpi/ompi#12628 is merged, perhaps we are unblocked?

@jakirkham
Copy link
Member

For 5.0.4+, yes

Presumably this persists in 4.x

@minrk
Copy link
Member Author

minrk commented Sep 27, 2024

Note that they are considering removal of the script wrappers, since they appear to be mostly unmaintained and not used very often: open-mpi/ompi#12625

While it has been a pain to set up, it's working now and fairly reliable, so I'm reticent to remove all that setup if we're just going to need to put it back in a future release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants