Skip to content

Conversation

@casparvl
Copy link
Contributor

@casparvl casparvl commented Feb 7, 2025

Supersedes #3571

Caspar van Leeuwen added 30 commits January 29, 2025 22:55
…g extra RPATHS. Also, fix syntax for call to logging
…Also, set bin_lib_subdirs so that also the files in lib/server are patched
@lexming
Copy link
Contributor

lexming commented Feb 21, 2025

@casparvl all development is on 5.0 now, can you please move the target of this PR to the branch 5.0.x?

@boegel
Copy link
Member

boegel commented Feb 26, 2025

@casparvl all development is on 5.0 now, can you please move the target of this PR to the branch 5.0.x?

If this can wait a bit, there's no need to, soon the 5.0.x branch will be collapsed into develop...

# using patchelf, see e.g. https://github.com/easybuilders/easybuild-easyblocks/pull/3571
# The option run_rpath_sanity_check supports a gradual transition where binary installs that properly
# patch the RPATH can start running the sanity check
'run_rpath_sanity_check': [False, "Whether or not to run the RPATH sanity check", CUSTOM],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This used to be needed not to break any existing rpath sanity checking that's going on. But, that may no longer be the case: the default RPATH sanity check has been relaxed https://docs.easybuild.io/easybuild-v5/changes/#rpath . So, unless people actively filter LD_LIBRARY_PATH in their Easybuild config, the sanity check wouldn't fail anyway.

extra_vars.update({
# Overwrite the default value for run_rpath_sanity_check to True, since we have RPATH patching with
# patchelf for Java
'run_rpath_sanity_check': [True, "Whether or not to run the RPATH sanity check", CUSTOM],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

can (probably) be removed, see above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix EESSI Related to EESSI project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants