<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">
<p>I opened the following bug report for this issue:</p>
<p><a moz-do-not-send="true"
href="https://bugs.openjdk.org/browse/JDK-8307316">JDK-8307316</a>:
Let JavaFX be built on unknown architectures</p>
<p>John</p>
</div>
<div class="moz-cite-prefix"></div>
On 3/30/23 10:34 AM, Glavo wrote:<br>
<blockquote type="cite"
cite="mid:CAJL5A3ni+NxvGRqWmsEMZ5K1jkcqu3oAFAO3EqmgHc6E0z9SdQ@mail.gmail.com">
<div dir="ltr">Did I successfully send this email to the mailing
list?<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Mar 29, 2023 at
10:18 PM Glavo <<a href="mailto:zjx001202@gmail.com"
moz-do-not-send="true" class="moz-txt-link-freetext">zjx001202@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote">
<div dir="ltr">Hi everyone,
<div><br>
</div>
<div>Currently OpenJFX's build script asserts the CPU
architecture and does not allow building on unknown
architectures.<br>
</div>
<div>But in fact OpenJFX is cross-platform, it can actually
be built and run on almost all architectures.<br>
</div>
<div>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].<br>
</div>
<div><br>
</div>
<div>I'm working on some niche architectures (such as
MIPS64el and RISC-V) and I need to compile OpenJFX for
them.<br>
</div>
<div>I understand the need to warn users that there may be
unknown issues building on these architectures, </div>
<div>and I don't have time to do regular testing to ensure
that OpenJFX works on these architectures.<br>
</div>
<div>But I wish it was simpler to build OpenJFX on these
architectures. </div>
<div>So can we add a gradle property to have the build
script skip the assertion on the architecture, </div>
<div>thus allowing us to build OpenJFX on unknown
architectures without modifying any files?<br>
</div>
<div><br>
</div>
<div>Glavo</div>
<div><br>
</div>
<div>[1]: <a
href="https://github.com/jgneff/openjfx/blob/candidate/snap/local/allow-armhf-i386-ppc64el-s390x.patch"
target="_blank" moz-do-not-send="true"
class="moz-txt-link-freetext">https://github.com/jgneff/openjfx/blob/candidate/snap/local/allow-armhf-i386-ppc64el-s390x.patch</a></div>
</div>
</blockquote>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>