Allow OpenJFX to be built on unknown architectures
John Neffenger
john at status6.com
Wed May 3 04:54:19 UTC 2023
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 <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/20230502/357474e2/attachment.htm>
More information about the openjfx-dev
mailing list