Fwd: RFR: JDK-8215445: Enable building for Windows in WSL
Jorn Vernee
jbvernee at xs4all.nl
Thu Dec 20 23:21:00 UTC 2018
Sounds interesting!
But, it looks like it can currently only run on the system drive [1],
which I personally have some reservations about (it's also not as fast
as my current workspace drive). So, until support is added to put the
filesystem on a different drive [2], I think I will be sticking to
cygwin.
Jorn
[1] :
https://docs.microsoft.com/en-us/windows/wsl/install-win10#troubleshooting
[2] : https://github.com/Microsoft/WSL/issues/449
Maurizio Cimadamore schreef op 2018-12-20 22:20:
> Just FYI - this might be helpful in our future Windows efforts?
>
> Maurizio
>
>
>
> -------- Forwarded Message --------
> Subject: RFR: JDK-8215445: Enable building for Windows in WSL
> Date: Thu, 20 Dec 2018 13:47:53 +0100
> From: Erik Joelsson <erik.joelsson at oracle.com>
> Organisation: Oracle Corporation
> To: build-dev <build-dev at openjdk.java.net>, Andrew Luo
> <andrewluotechnologies at outlook.com>
>
>
>
> Hello,
>
> Thanks to huge help from Andrew Luo, we now have a patch that adds
> support for building OpenJDK for Windows using WSL as the Unix layer
> instead of Cygwin. I have made some adjustments, mostly to keep it
> working in Cygwin. I have also run it through some testing, mostly to
> make sure there are no regressions to the current Cygwin support. This
> includes a COMPARE run which showed no regressions as well as
> comparing a WSL and Cygwin build, which showed no unexpected
> differences.
>
> I'm happy to see that on my Windows Workstation, the time to run "make
> bundles" is considerably faster in WSL, about 8m40s compared to
> 12m55s.
>
> It should be noted that testing is still not fully supported. We will
> likely need to adjust some tests to work correctly in WSL and it's
> also possible that jtreg will also need adjustments.
>
> (For internal Oracle developers, Jib does not support WSL yet)
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8215445
>
> Webrev: http://cr.openjdk.java.net/~erikj/8215445/webrev.02/index.html
>
> /Erik
More information about the panama-dev
mailing list