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

configury: Fixed disable-rpath #1188

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

markbrown314
Copy link
Collaborator

Issue #1162

The build system relies on libtool to build libraries. libtool will insert an rpath into libraries unless you set hardcode_into_libs = no. Modified configury to set hardcode_into_libs if disable-rpath is set.

Issue Sandia-OpenSHMEM#1162

The build system relies on libtool to build libraries. libtool will
insert an rpath into libraries unless you set hardcode_into_libs = no.
Modified configury to set hardcode_into_libs if disable-rpath is set.

Signed-off-by: Mark F. Brown <[email protected]>
Copy link
Member

@davidozog davidozog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pretty much does the right thing on my end (at least locally, Ubuntu 24.04)

It has the interesting effect that pmi-simple is not found by ldd unless explicitly setting LD_LIBRARY_PATH or LD_PRELOAD, but I think that's fine... make check still works in this case, so we could add a --disable-rpath row in CI if so desired. (but maybe that's not very valuable).

Anyway, I'll keep an eye on it, but it certainly seems to fix #1162

Nice find on hardcode_into_libs @markbrown314! And thanks for the fix!

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

Successfully merging this pull request may close these issues.

3 participants