Skip to content
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

How do I build a specific version? #2817

Closed
darkedges opened this issue Dec 25, 2021 · 1 comment
Closed

How do I build a specific version? #2817

darkedges opened this issue Dec 25, 2021 · 1 comment
Assignees
Labels
documentation Issues that request updates to our documentation question Issues that are queries about the code base or potential problems that have been spotted

Comments

@darkedges
Copy link

darkedges commented Dec 25, 2021

I am confused by how to build a speicific version. For example jdk-11.0.13+8

I have found that I can build via a the release branch of tag jdk-11.0.13+8_adopt,

./makejdk-any-platform.sh \
    -J /usr/lib/jvm/java-10-openjdk \
    --build-variant hotspot \
    --configure-args \
    --disable-warnings-as-errors \
    --tag jdk-11.0.13+8_adopt \
    --branch release \
    jdk11u

but when I look at the version it comes with a beta

openjdk 11.0.13-beta 2021-10-19
OpenJDK Runtime Environment Temurin-11.0.13+8-202112252131 (build 11.0.13-beta+8-202112252131)
OpenJDK 64-Bit Server VM Temurin-11.0.13+8-202112252131 (build 11.0.13-beta+8-202112252131, mixed mode)

I have tried various build build-number and version-number arguments but I don't seem to be able to get close.

Would it be possible to make the documentation clearer with an example of how to get a specific version built.

@darkedges darkedges added the documentation Issues that request updates to our documentation label Dec 25, 2021
@github-actions github-actions bot added the question Issues that are queries about the code base or potential problems that have been spotted label Dec 25, 2021
@sxa sxa self-assigned this Dec 29, 2021
@sxa
Copy link
Member

sxa commented Dec 29, 2021

Hi, thanks for raising the issue :-)

Use the --without-version-pre --without-version-opt configure parameters to remove the beta designation. #2671 will be able to clear up some of the confusion relating to the _adopt tag too (but it's taking me a while to find the time to get round to implementing it!) Our scripts are currently always producing something badged as Temurin, so we wouldn't want to make a non-beta the default for user-generated ones in order to avoid confusing with the "Official" Temurin builds. One of the disadvantages of doing everything in a fully open source way - we make it too easy to make something that looks identical to ours ;-)

The without-version ones are listed in https://github.com/adoptium/temurin-build/blob/master/RELEASING.md but that's generally for people running through the quarterly release process using the Adoptium infrastructure. While we could add the information on that into the main building instructions I'd be a little reluctant to do it until we've implemented the HotSpot/Temurin split in order to avoid the confusion mentioned in the end of the previous paragraph, but I'll add a note into that issue to remind me to update that in the docs too once it's done. Thanks for your feedback on this.

Hope those parameters help. If you find they don't, please re-open this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issues that request updates to our documentation question Issues that are queries about the code base or potential problems that have been spotted
Projects
None yet
Development

No branches or pull requests

2 participants