RFR: 8256127: Add cross-compiled foreign architectures builds to submit workflow [v6]
Aleksey Shipilev
shade at openjdk.java.net
Fri Nov 13 10:57:10 UTC 2020
On Fri, 13 Nov 2020 10:07:26 GMT, Robin Westberg <rwestberg at openjdk.org> wrote:
> Looks good! I did a similar attempt at cross building a while ago, but never got around to finishing it, so it's nice to see it materializing! I do have a general comment on reducing the amount of duplicated content though. Since all these cross-build platforms share the same prerequisites, they can be expressed as matrix builds. Here's what I did: https://github.com/rwestberg/jdk/blob/947c934621c3013c055152356615e0120382cedf/.github/workflows/submit.yml#L102
Right. AFAIU your code, it bootstraps the chroot and builds x86_64 build JDK for every config and every run, something this PR is able to avoid. We'd need to figure that out. I think that is pretty doable, but it would require a few days worth of pipeline testing to work out the kinks. So, would you mind we do that in the follow-ups?
-------------
PR: https://git.openjdk.java.net/jdk/pull/1147
More information about the build-dev
mailing list