On Fri, 2 Dec 2022 15:52:59 GMT, Johan Vos <j...@openjdk.org> wrote:

> I personally would like to have an approach similar to OpenJDK, which is more 
> Makefile based and deals with module/platform/architecture specific things in 
> a cleaner way.

Me too! I thought I was alone in wanting to move to Makefiles. The OpenJDK 
build is by far one of the easiest open-source build systems I've encountered. 
OpenJFX is by far one of the most difficult. Most of that difficulty is due to 
essential complexity: it just does so much on so many operating systems and 
hardware platforms. But there is a lot of accidental complexity in our current 
build system that could be removed, too.

> However, it would be a huge effort to move from the monolith build.gradle 
> that we currently have towards a system like OpenJDK -- especially since we 
> need to get all testing and all cornercases 100% correct -- so it's not on my 
> personal short-term roadmap.

We don't need to get any testing or corner cases correct at all. We just need 
reproducible builds.

Once we have reproducible builds, we can be bold and reckless in our changes to 
the build system. If the artifacts produced by the old build and the new build 
are bit-for-bit identical, we're done. Zero testing required.

-------------

PR: https://git.openjdk.org/jfx/pull/657

Reply via email to