Install IBM Semeru Open JRE for s390x cp-base-java(-micro) builds#1754
Open
Prince Raheja (rahejaprince) wants to merge 1 commit into
Open
Install IBM Semeru Open JRE for s390x cp-base-java(-micro) builds#1754Prince Raheja (rahejaprince) wants to merge 1 commit into
Prince Raheja (rahejaprince) wants to merge 1 commit into
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
cp-base-javaandcp-base-java-microinstall IBM Semeru Open JRE 25 on s390x builds. amd64 and arm64 builds continue to install Eclipse Temurin 25 from the Adoptium yum repo. Selection is driven by the existingarch.typeMaven property already set in.semaphore/{semaphore,cp_dockerfile_build}.yml.How it works
Dockerfile.ubi9files:curls the Semeru tarball from theibmruntimes/semeru25-binariesGitHub release/opt/java/openjdk(preserving thelegal/tree for GPLv2+CPE attribution)/usr/bin/javaso downstream apps work identically to the RPM pathcp-base-java-microadditionally addslibstdc++to the dnf install into/microdir. The final stage of-microisubi9-micro, which doesn't bundle the C++ stdlib that Semeru'slibjvm.solinks against; the rootfs-copy stage now explicitly carries it.New pom properties
semeru-25-jre.version25.0.3.0semeru-25-jre.s390x.sha2565f24293d…ibm-semeru-open-jre_s390x_linux_25.0.3.0.tar.gzubi9.libstdc__plus____plus__.version11.5.0-11.el9+;__plus__encoding pairs with the decoder in the paired cp-build-release PRPaired PR
confluentinc/cp-build-release#577— adds the__plus__decoder to the dependency-update automation so future scheduled runs can resolveubi9.libstdc__plus____plus__.versiontolibstdc++. That PR should land first or alongside this one.Test plan
-Darch.type=.s390x -Ddocker.buildx.platforms=linux/s390x): bothcp-base-java(178 MB) andcp-base-java-micro(152 MB) build successfully;java -versionreturns IBM Semeru / Eclipse OpenJ9 onLinux s390x-64-Bit.-Darch.type=.amd64):cp-base-javastill installs Eclipse Temurin via Adoptium RPM,/opt/java/openjdkdoes not exist,/usr/bin/javaresolves to/usr/lib/jvm/java-25-temurin-jre/bin/java(existing path unchanged).legal/directory preserved under/opt/java/openjdk/legal/;update-crypto-policiesruns unchanged.