adoptium / temurin-build

Eclipse Temurin™ build scripts - common across all releases/versions
Apache License 2.0
1.01k stars 246 forks source link

OpenJDK 11 builds for Solaris (SPARC)? #1279

Open karianna opened 4 years ago

karianna commented 4 years ago

Is there any update on or any estimate when OpenJDK 11 builds will be available for Solaris (SPARC)?

Originally posted by @sKiLLeFF in https://github.com/AdoptOpenJDK/TSC/issues/40#issuecomment-531114867

eFFecTM commented 4 years ago

Is there any news to have this scheduled before the end of the year, for example by November?

karianna commented 4 years ago

@gdams have we got enough capacity for this? I note that Solaris support is proposed to be dropped for Java 14+ (JEP 382)

smlambert commented 4 years ago

Have added test labels to build-inspira-solaris10u11-sparcv9-1 to enable jdk8 testing, but reminding that you may want to add a separate machine for testing (the -1 machine seems very slow).

Related: https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/631 and https://github.com/AdoptOpenJDK/openjdk-tests/issues/799

gdams commented 4 years ago

I think that this should be closed until we know the future of OpenJDK on Solaris, We can re-consider at that point? @karianna ?

karianna commented 4 years ago

I think that this should be closed until we know the future of OpenJDK on Solaris, We can re-consider at that point? @karianna ?

Does it just build-out of the box today?

gdams commented 4 years ago

Does it just build-out of the box today?

It does but we don't currently have the hardware to build it.

eFFecTM commented 4 years ago

Just wondering, I noticed that as of right now OpenJDK 8 is still being built for Solaris (Sparc). Is the hardware of that build system compatible for building newer OpenJDK versions?

karianna commented 4 years ago

We need a Solaris box that also has Solaris 11 installed on it.

346L3 commented 4 years ago

Is there any way to set up a build slave for the build farm? I'm also interested in more recent OpenJDK builds for Solaris and have Sparc and x86 servers running Solaris 10 & 11. After a quick look, I could only find documentation on adding new variants to be built on the buildfarm, not provide farm systems themselves...

karianna commented 4 years ago

Is there any way to set up a build slave for the build farm? I'm also interested in more recent OpenJDK builds for Solaris and have Sparc and x86 servers running Solaris 10 & 11. After a quick look, I could only find documentation on adding new variants to be built on the buildfarm, not provide farm systems themselves...

@346L3 - please email infrastructureATadoptopenjdkDOTnet

gdams commented 3 years ago

@346L3 Are you still willing to connect some Solaris servers to our build farm? Please let me know if it's still an option. CC @sxa

346L3 commented 3 years ago

@346L3 Are you still willing to connect some Solaris servers to our build farm? Please let me know if it's still an option. CC @sxa

Yes, absolutely. I just had a lot of stuff going on lately... Does one per type suffice?

gdams commented 3 years ago

@346L3 the more the better but we'd happily take anything that you have. Are you on our slack channel? If not would you join https://adoptium.net/slack and we can discuss over there?

davidmoten commented 1 year ago

Now that JDK 17 LTS is around I'm after a Solaris JDK 17 sparcv9 download. Still don't see anything after JDK 8 unfortunately. What's the status on the > JDK 8 builds?

karianna commented 1 year ago

Sadly that is not a supported version/platform combination

sxa commented 1 year ago

@davidmoten Solaris/SPARC was removed from the upstream openjdk codebase in late 2020 around the JDK15 timeframe, so we are unlikely to be able to build an official JDK17. (Also SPARC is an expensive platform for us to support)

davidmoten commented 1 year ago

@davidmoten Solaris/SPARC was removed from the upstream openjdk codebase in late 2020 around the JDK15 timeframe, so we are unlikely to be able to build an official JDK17. (Also SPARC is an expensive platform for us to support)

Thanks for the reply. I did notice that Oracle JDK is now free again for JDK 17 and checked with them but they don't build Solaris sparc for JDK 15+ so I really should forget about it and hasten our migration off Solaris!

sxa commented 1 year ago

Thanks for the reply. I did notice that Oracle JDK is now free again for JDK 17 and checked with them but they don't build Solaris sparc for JDK 15+ so I really should forget about it and hasten our migration off Solaris!

Yep it was JEP 381 that stripped it out of the code base. In the case of JDK11 there are a couple of other blockers for us building that one, but it is feasible which is the only reason this issue hasn't been finally closed :-)

ptribble commented 4 months ago

For people finding this, there are a couple of options.

You can get good builds of OpenJDK for Solaris on both SPARC and x86 from Liberica

https://bell-sw.com/pages/downloads/

These include JDK11, and also 12 and 13.

If you want something more recent, then you're into unsupported territory, although it's not impossible. I have patches to build current OpenJDK on x86 illumos, and OpenJDK up to 17 on Solaris SPARC.

https://github.com/ptribble/jdk-sunos-builder

and some binaries for Solaris SPARC up to JDK17 too

https://pkgs.tribblix.org/openjdk/sparc-solaris/