On Thu, 18 Nov 2021 17:02:19 GMT, Andreas Heger <d...@openjdk.java.net> wrote:

>> By changing the value for the clang -arch parameter to "arm64", the jfx 
>> project compiles on an apple silicon system. Are there any side effects 
>> which I might be missing in this simple solution?
>
> Andreas Heger has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   8276174: Set default TARGET_ARCH to "arm64" on apple silicon machines

With this patch I am able to build without setting `TARGET_ARCH`. Everything 
looks like it is working except that the architecture is still coming up as 
"x86_64" for the WebKit binaries. This looks like a preexisting problem that 
might have something to do with my development environment.

@johanvos Do you need to use any special flags today when you build WebKit on 
M1?

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

PR: https://git.openjdk.java.net/jfx/pull/666

Reply via email to