-
Notifications
You must be signed in to change notification settings - Fork 202
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 RPATH linking by default #4448
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Positives: Downsides:
|
I'd support this. For reference, we enabled rpath on our new cluster (without filtering LD_LIBRARY_PATH), and have zero negative feedback from users. I don't think we should worry about holding back to wait for #4122, that can always be added later (and would probably get more attention with rpath being on by default) |
I'm also in general supportive, but I do think there needs to be space in some cases to be able to override libraries with an ABI compatible alternative (MPI in particular). Current rpath support does make this possible (and we use that in EESSI). If we do switch to #4122 at some point, we should still be able to retain this possibility. |
I'm fine with this, as long as we add a very clear section to the documentation that explains our motivation for doing this, outline the (mostly positive) impact this has. That section should include clear instructions on how to switch back to the old behavior of not using RPATH linking, or how to disable it for specific easyconfigs (by setting the We should also only have it enabled by default on Linux, and keep it disabled on macOS (where it doesn't work at all). |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
I've marked this as draft while we discuss changing this default in EB5.