-
Notifications
You must be signed in to change notification settings - Fork 714
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
{lang}[GCCcore/12.3.0,GCCcore/13.2.0,GCCcore/13.3.0] Java v17.0.6 #22245
base: develop
Are you sure you want to change the base?
{lang}[GCCcore/12.3.0,GCCcore/13.2.0,GCCcore/13.3.0] Java v17.0.6 #22245
Conversation
…e-13.2.0.eb, Java-17.0.6-GCCcore-13.3.0.eb
Updated software
|
Test report by @casparvl |
@boegelbot please test @ jsc-zen3 |
@casparvl: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... - notification for comment with ID 2626078779 processed Message to humans: this is just bookkeeping information for me, |
Test report by @boegelbot |
(created using
eb --new-pr
)Java has traditionally been at the GCCcore level. However, many of the libraries in
$EBROOTJAVA/lib
have dependencies, e.g. on X11 libraries andlibasound.so
(fromalsa-lib
). Traditionally, this was 'solved' by adding those dependencies at the level of the actual Java application. E.g. https://github.com/easybuilders/easybuild-easyconfigs/blob/b870488de2fce85aa79e759a72e5e97e8b8908f1/easybuild/easyconfigs/m/MATSim/MATSim-15.0-GCCcore-12.3.0-Java-17.ebWhen using
LD_LIBRARY_PATH
, this is not a huge deal, and the advantage is that we can keep Java atSYSTEM
toolchain level, thus avoiding some duplication. But when usingRPATH
support, it is problematic. The libraries that need to get anRPATH
set are in the Java installation. However, the paths that need to be added to theseRPATH
s are not available when installing Java, because we only add those dependencies at the Java application level. Thus, we cannot 'fix' theRPATH
s.The solution is simple:
Binary
easyblock) should add the proper paths to theRPATH
s of the relevant libraries, whenRPATH
support is used. (PR: Restructure RPATH and elf interpreter setting for Java, and add the LIBRARY_PATH to the additional RPATH easybuild-easyblocks#3571)