RFR: 8265031: Change default macOS min version for x86_64 to 10.12 and aarch64 to 11.0 [v2]

Pankaj Bansal pbansal at openjdk.java.net
Wed Apr 14 13:18:14 UTC 2021


On Wed, 14 Apr 2021 12:40:29 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> As noted in the JBS bug, the minimum macOS version on which JavaFX will run is currently set to 10.10 in `mac.gradle`. macOS 10.10 is many years out of support, so we should update this minimum. Further, macOS / aarch64 (aka arm64) requires macOS 11.0 as a minimum in order to run.
>> 
>> The JDK recently updated their minimum for x86_64 to 10.12 and for aarch64 to 11.0. See [make/autoconf/flags.m4#L136](https://github.com/openjdk/jdk/blob/627ad9fe22a153410c14d0b2061bb7dee2c300af/make/autoconf/flags.m4#L136).
>> 
>> This PR will do the same for JavaFX.
>> 
>> To determine whether we are building on `aarch64`, I check the `TARGET_ARCH` property for either `aarch64` or `arm64`, since we currently use the latter for our builds, although we should proably update our build to consistently use `aarch64` everywhere, and map that to `arm64` on usage where required by native tools.
>
> Kevin Rushforth has updated the pull request incrementally with one additional commit since the last revision:
> 
>   update to use isAarch64 per review comments

Marked as reviewed by pbansal (Committer).

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

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


More information about the openjfx-dev mailing list