On Thu, 11 Nov 2021 13:37:37 GMT, Kevin Rushforth <k...@openjdk.org> 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? > > Did you build WebKit and media with this fix? This might be an OK stop gap, > but a more permanent solution would probably be to automatically set > `TARGET_ARCH` to `arm64` when `OS_ARCH` is set to `aarch64`. @kevinrushforth > Did you build WebKit and media with this fix? This might be an OK stop gap, > but a more permanent solution would probably be to automatically set > `TARGET_ARCH` to `arm64` when `OS_ARCH` is set to `aarch64`. You are right, WebKit and media did not build with the original fix, so I now changed the build.gradle file to set the `TARGET_ARCH`to `arm64`on Macs with `OS_ARCH`== `aarch64`. All modules can be build now. ------------- PR: https://git.openjdk.java.net/jfx/pull/666