Allow OpenJFX to be built on unknown architectures

Kevin Rushforth kevin.rushforth at oracle.com
Thu Mar 30 17:44:26 UTC 2023


No, I didn't see this. Yes, this seems a reasonable request.

-- Kevin


On 3/30/2023 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 <zjx001202 at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20230330/955b9d82/attachment.htm>


More information about the openjfx-dev mailing list