[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: Cross-compiling JavaFX for Apple ARM64
From:       Kevin Rushforth <kevin.rushforth () oracle ! com>
Date:       2021-11-29 18:34:37
Message-ID: 5bc8f90c-6708-bfda-f85c-09e7b2e8e3b7 () oracle ! com
[Download RAW message or body]

Not currently. I admit it would be nice, but there are some challenges 
that make this difficult. One of the main ones that Johan discovered is 
that the WebKit build system builds some tools (executable binaries) 
that are then used in later stages of the build. This means that those 
tools need to be built using the host architecture and not the target 
architecture, but at least one of them (LLIntOffsetsExtractor) depends 
on one of the WebKit modules, so then that would need to be built 
initially using the host architecture so that the tool could be built, 
and then rebuilt using the target arch. I have no idea how much work it 
would be to solve this.

-- Kevin


On 11/25/2021 9:03 PM, Michael Strauß wrote:
> JavaFX can be cross-compiled for Apple ARM64 on an Intel Mac by
> specifying TARGET_ARCH=arm64 for the Gradle build.
> This works for all native libraries except for WebKit, because
> TARGET_ARCH is not passed to WebKit's cmake script. Are there any
> plans to support this particular scenario?

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic