RFR: 8256657: Add cross-compiled build for Windows+Arm64 to submit workflow [v3]
Bernhard Urban-Forster
burban at openjdk.java.net
Mon Dec 7 19:31:25 UTC 2020
> This adds the cross-compiled build only, as no Windows+Arm64 machines are available on GitHub Action that we could use to run the tests.
>
> Due to cross-compilation a build JDK is required. Initially I added EA builds to be downloaded from https://jdk.java.net/16/ and used for that, but then I saw how @shipiliv attempted it for the linux cross-compilation builds in https://github.com/openjdk/jdk/pull/1147. That is using the JDK image produced by the x64 variant. This however add more stress to the "critical path", as now two more jobs depend on the x64 build first.
>
> Let's see how it works out in the long-run. A Windows+AArch64 build takes 40-50min.
Bernhard Urban-Forster has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains ten commits:
- change default target to hotspot and align with updated x64 bits
- remove devkit usage on win-aarch64
- Merge remote-tracking branch 'upstream/master' into 8256657-win-arm64-gh-submit-workflow
- todo note for caching devkit
- remove release build
- move windows_aarch64_build next to other builds
- Merge remote-tracking branch 'upstream/master' into 8256657-win-arm64-gh-submit-workflow
- remove fixpath.exe workaround
- 8256657: Add cross-compiled build for Windows+Arm64 to submit workflow
This adds the cross-compiled build only, as no Windows+Arm64 machines are available on GitHub Action that we could use to run the tests.
Due to cross-compilation a build JDK is required. Initially I added EA builds to be downloaded from https://jdk.java.net/16/ and used for that, but then I saw how @shipiliv attempted it for the linux cross-compilation builds in https://github.com/openjdk/jdk/pull/1147. That is using the JDK image produced by the x64 variant. This however add more stress to the "critical path", as now two more jobs depend on the x64 build first.
Let's see how it works out in the long-run. A Windows+AArch64 build takes 40-50min.
-------------
Changes: https://git.openjdk.java.net/jdk/pull/1379/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1379&range=02
Stats: 119 lines in 1 file changed: 117 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/1379.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1379/head:pull/1379
PR: https://git.openjdk.java.net/jdk/pull/1379
More information about the build-dev
mailing list