RFR: 8339212: When build jfx in Linux(aarch64), gradle downloads the wrong eclipse swt jar

Kevin Rushforth kcr at openjdk.org
Thu Aug 29 11:51:24 UTC 2024


On Thu, 29 Aug 2024 04:46:05 GMT, ANUPAM DEV <duke at openjdk.org> wrote:

> Hi,
> 
> I have updated the name of the SWT.jar that needs to be downloaded during the build process for Linux aarch64.
> from:
>     IS_LINUX ? "org.eclipse.swt.gtk.linux.x86_64_3.124.200.v20231113-1355" : ""
> 
> to:
>     IS_LINUX && IS_AARCH64 ? "org.eclipse.swt.gtk.linux.aarch64_3.124.200.v20231113-1355" :
>     IS_LINUX && !IS_AARCH64 ? "org.eclipse.swt.gtk.linux.x86_64_3.124.200.v20231113-1355" : ""
> 
> Please review.
> 
> Regards,
> Anupam

@anupamdev20 You also need to add an entry for the Linux/aarch64 jar file in `gradle/verification-metadata.xml`. Copy the entry for the Linux / x64 jar file and modify it as needed. Without this, the build will fail on Linux / aarch64. We don't do Linux / aarch64 builds in our CI nor is there a GHA build on Linux / aarch64. I'll file a bug for the latter.

@tiainen Would you be able to test this once Anupam has added the checksum?

Reviewers: @kevinrushforth @tiainen

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1549#issuecomment-2317421451


More information about the openjfx-dev mailing list