I opened the following bug report for this issue:

JDK-8307316 <https://bugs.openjdk.org/browse/JDK-8307316>: Let JavaFX be built on unknown architectures

John

On 3/30/23 10:34 AM, Glavo wrote:
Did I successfully send this email to the mailing list?

On Wed, Mar 29, 2023 at 10:18 PM Glavo <zjx001...@gmail.com> wrote:

    Hi everyone,

    Currently OpenJFX's build script asserts the CPU architecture and
    does not allow building on unknown architectures.
    But in fact OpenJFX is cross-platform, it can actually be built
    and run on almost all architectures.
    The only hurdle was the asserts in the build scripts, and John
    made it compile on the s390x and ppc64el platforms with a simple
    patch[1].

    I'm working on some niche architectures (such as MIPS64el and
    RISC-V) and I need to compile OpenJFX for them.
    I understand the need to warn users that there may be unknown
    issues building on these architectures,
    and I don't have time to do regular testing to ensure that OpenJFX
    works on these architectures.
    But I wish it was simpler to build OpenJFX on these architectures.
    So can we add a gradle property to have the build script skip the
    assertion on the architecture,
    thus allowing us to build OpenJFX on unknown architectures without
    modifying any files?

    Glavo

    [1]:
    
https://github.com/jgneff/openjfx/blob/candidate/snap/local/allow-armhf-i386-ppc64el-s390x.patch

Reply via email to