JavaFX needs to support MacOS systems that are using the ARM-based CPU's.
The required changes for this are very small, and come down to compiling with the appropriate flags (e.g. --target arm64-apple-macos11).
This requires XCode 12.2, while our current requirement is 11.3.
A first test indicates there are no source changes required for this, hence it can be considered to be a build issue only.
There are at least 2 different build strategies:
* build 2 flavours of the SDKs/jmods and maven artifacts: one for x86_64 and one for arm64
* build a universal version for each library, so that only 1 version is needed. The drawback is that this results in bigger artifacts, although it only affects the native libraries.
The required changes for this are very small, and come down to compiling with the appropriate flags (e.g. --target arm64-apple-macos11).
This requires XCode 12.2, while our current requirement is 11.3.
A first test indicates there are no source changes required for this, hence it can be considered to be a build issue only.
There are at least 2 different build strategies:
* build 2 flavours of the SDKs/jmods and maven artifacts: one for x86_64 and one for arm64
* build a universal version for each library, so that only 1 version is needed. The drawback is that this results in bigger artifacts, although it only affects the native libraries.
- is blocked by
-
JDK-8257897 Fix webkit build for XCode 12
-
- Resolved
-
-
JDK-8257758 Allow building of JavaFX native libs for Apple Silicon
-
- Resolved
-
-
JDK-8257895 Allow building of JavaFX media libs for Apple Silicon
-
- Resolved
-
-
JDK-8257896 Allow building of JavaFX webkit libs for Apple Silicon
-
- Closed
-