-
Notifications
You must be signed in to change notification settings - Fork 310
Restructure RPATH and elf interpreter setting for Java, and add the LIBRARY_PATH to the additional RPATH and separate java awt libs #3583
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
Open
casparvl
wants to merge
34
commits into
easybuilders:develop
Choose a base branch
from
casparvl:separate_java_awt_libs
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
e2a6a45
Restructure RPATH and elf interpreter setting for Java, and add the L…
af2f85e
Fix hound issues
c2e0795
Remove blank line
a7267f3
Make sure libraries in /lib/server are also found
aee12db
fix variable name
b012847
Make sure the paths appear before the paths from LIBRARY_PATH
18b20e5
Make running the RPATH sanity check optional for Binary, instead of s…
eaf3f74
Overwrite run_rpath_sanity_check with True for Java, since we have pa…
ed4f113
Fix hound issues
83e1976
Make sure to return extra_options
8af9549
Remove blank lines
3169ab8
Make sure to return the failures from sanity_check_rpath()
11d4bf3
Use --force-rpath to make sure an RPATH gets set, and not RUNPATH
446692b
Fix order of arguments to patchelf
4284264
Also use --force-rpath when shrinking the rpath, to see if that helps
70ae426
Fix RPATH also for executables in the libdir
7d508e0
Move RPATH patching to binary easyblock level. Then, enable it by de…
616cc64
Forgot comma
4701009
Fix indent
9a500f9
Fix syntax errors
ed87e04
Fix imports, smaller issues
9b1e8f8
Make sure the function that should determine the extra RPATHS actuall…
5151c73
Some more fixes of imports and other small mistakes
13b4f30
Make sure that sysroot variable is set inside the function determinin…
0ff262b
Some more debug loggin and check that extra_rpaths option is a list, …
c45a7e7
Use installdir, as EBROOTJAVA isn't set yet at postinstallcmds time. …
c3580a4
Remove commented section, which is no longer needed
980b045
Clarify the potential TODO
65672ee
Fix indents
7ec9440
Clean up unused imports
60a9762
Fix environment variable resolution for extra_rpaths as well as typo …
c4c6ad2
Strip AWT libs from standard java installation by default so we can s…
d5e1f4f
Add java_awtlibs easyblock
1ab655c
Get rid of unused imports
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This used to be needed not to break any existing
rpathsanity 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 filterLD_LIBRARY_PATHin their Easybuild config, the sanity check wouldn't fail anyway.