On Fri, 13 Nov 2020 10:07:26 GMT, Robin Westberg <rwestb...@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