<div dir="ltr">Thank you for your contribution! <br><div><br></div><div>I compiled OpenJFX for RISC-V and MIPS64el platforms with reference to your patch, thereby porting our JavaFX applications to these platforms, and it worked well.</div><div><br></div><div>Glavo</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 31, 2023 at 1:59 AM John Neffenger <<a href="mailto:john@status6.com">john@status6.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 3/30/23 10:44 AM, Kevin Rushforth wrote:<br>
> No, I didn't see this. Yes, this seems a reasonable request.<br>
<br>
Actually, I was going to submit a pull request to get my patch for this <br>
change integrated (after the reproducible builds PR is merged). I've <br>
tested JavaFX on all six architectures for Linux: amd64, arm64, armhf, <br>
i386, ppc64el, and even s390x! It works on all platforms except for the <br>
software rendering on an IBM mainframe (s390x), but even that could be <br>
fixed someday. The bug is due to the mainframe being big-endian instead <br>
of little-endian.<br>
<br>
My tests of Java and JavaFX on all Linux architectures are posted here:<br>
<br>
Status<br>
<a href="https://github.com/jgneff/openjdk/discussions/11" rel="noreferrer" target="_blank">https://github.com/jgneff/openjdk/discussions/11</a><br>
<br>
The Java bug on an s390x virtual machine should be fixed by now, too, <br>
but I haven't yet had a chance to test the QEMU fix.<br>
<br>
John<br>
<br>
> On 3/30/2023 10:34 AM, Glavo wrote:<br>
>> Did I successfully send this email to the mailing list?<br>
>><br>
>> On Wed, Mar 29, 2023 at 10:18 PM Glavo <<a href="mailto:zjx001202@gmail.com" target="_blank">zjx001202@gmail.com</a>> wrote:<br>
>><br>
>>     Hi everyone,<br>
>><br>
>>     Currently OpenJFX's build script asserts the CPU architecture and<br>
>>     does not allow building on unknown architectures.<br>
>>     But in fact OpenJFX is cross-platform, it can actually be built<br>
>>     and run on almost all architectures.<br>
>>     The only hurdle was the asserts in the build scripts, and John<br>
>>     made it compile on the s390x and ppc64el platforms with a simple<br>
>>     patch[1].<br>
>><br>
>>     I'm working on some niche architectures (such as MIPS64el and<br>
>>     RISC-V) and I need to compile OpenJFX for them.<br>
>>     I understand the need to warn users that there may be unknown<br>
>>     issues building on these architectures,<br>
>>     and I don't have time to do regular testing to ensure that OpenJFX<br>
>>     works on these architectures.<br>
>>     But I wish it was simpler to build OpenJFX on these architectures.<br>
>>     So can we add a gradle property to have the build script skip the<br>
>>     assertion on the architecture,<br>
>>     thus allowing us to build OpenJFX on unknown architectures without<br>
>>     modifying any files?<br>
>><br>
>>     Glavo<br>
>><br>
>>     [1]:<br>
>>     <a href="https://github.com/jgneff/openjfx/blob/candidate/snap/local/allow-armhf-i386-ppc64el-s390x.patch" rel="noreferrer" target="_blank">https://github.com/jgneff/openjfx/blob/candidate/snap/local/allow-armhf-i386-ppc64el-s390x.patch</a><br>
>><br>
> <br>
<br>
</blockquote></div>