-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
Switch builds to using VS2017 on Windows #466
Comments
I have created an upstream PATCH request to enable us to use latest VS2017 with side-by-side minor version MSVC toolsets. http://mail.openjdk.java.net/pipermail/build-dev/2019-March/025126.html |
Status update about getting builds to VS2017;
|
With the resolution of @ali-ince bug https://bugs.openjdk.java.net/browse/JDK-8220445 and infra issue 448, can this be closed? @sxa |
We are not building on VS2017 for all builds, therefore no. |
@d3r3kk Is this something our group can look at? Currently we're building using a VS2013 toolchain for Java 8 builds. We'd like to move that to VS2017 - not sure if it will work out of the box or some build script changes would need to be made upstream. |
OpenJ9/JDK8 is currently building with VS2010 - they generally track the openjdk supported levels which is why they haven't actively moved up. I'm not sure where the official source of the build prereqs is but both of these documents list VS2010 (One says 2013 as an option):
|
OpenJDK have fixed the build failure for VS2010/13: https://hg.openjdk.java.net/jdk8u/jdk8u/jdk/rev/097f47e7fe97 |
@d3r3kk @karianna Any update on this? Are we planning to progress it? OpenJ9 are still using VS2010 on JDK8 and do not plan to move up but we could possible remove our VS2013 requirement if we moved those builds up to VS2017 (assuming it was safe to do so without introducing any backwards compatibility issues!) |
Sorry for the late update @sxa - yes, I am slowly working through some solutions to this problem at the moment. Not least of which is getting the VS2013/17/19 installation to be more reasonable for our build purposes! |
Note that OpenJ9 Java 8 builds are moving to VS2013, as VS2010 is out of support. |
Actually, I think Adopt has to be ready to switch to VS2013 before ibmruntimes/openj9-openjdk-jdk8#449 and eclipse-openj9/openj9#10892 are merged, otherwise the builds will fail. |
@sxa The change needs to be coordinated. The msvcp120.dll is hard coded, the switch won't work without this code change. Once we make the code change, everybody needs to switch. I'm waiting for the all clear from IBM, and then we can deliver the code and make the switch. I think we can target next week. |
@d3r3kk - bumping up your food chain |
Related: #1026 |
@sxa Did this not already occur? The OpenJ9 changes for jdk8 were delivered long ago. ibmruntimes/openj9-openjdk-jdk8#449 |
I don't think Hotspot has been updated to build on 2017 for Java 8 yet (needs fixes upstream IIRC). |
Agree with that. If OpenJDK is updated to support building jdk8 with VS2017, then OpenJ9 would change to build with VS2017 as well, instead of VS2013. |
I was assuming from @d3r3kk 's comment that he was investigating JDK8, but since I've not seen any progress or response I'm going to assume it's not being actively worked so will close this once I've determined why https://github.com/AdoptOpenJDK/openjdk-build/blob/fd268fb8de5dddda558714c7d49304c1a075e6c2/build-farm/platform-specific-configurations/windows.sh#L114 doesn't seem to have taken effect (Since JDK11/HS/Win32 still seems to be using VS2013) |
Dependent on adoptium/infrastructure#448
The text was updated successfully, but these errors were encountered: