[jdk8u-dev] RFR: 8324185: [8u] Accept Xcode 12+ builds on macOS [v4]

Ben Taylor btaylor at openjdk.org
Mon Mar 4 19:57:55 UTC 2024


On Tue, 27 Feb 2024 17:45:03 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> I would like to update the build logic for macOS so it will accept the XCode 14 and 15. It could be done in a few ways:
>> 
>>  - Add XCode 13, 14 and 15 to the list of supported versions, like [this](https://github.com/openjdk/jdk8u-dev/pull/422/commits/d2d157ff4dd04cb108e036282643b21ac132016c)
>>  - Accept all XCode 9+ versions, like [this](https://github.com/openjdk/jdk8u-dev/pull/422/commits/d1d5e2d214135084e50bc5aba839afab98cf2de7).
>>  - Delete the "fail fast" code path. So if the xcode and command-line tools are there then build it, like [this](https://github.com/openjdk/jdk8u-dev/pull/422/commits/d28f6cdbc2bd6cb6bfefc84837a6c7c76c287572). 
>> 
>> I think we can safely delete this check, so this PR implements it.
>
> Sergey Bylokhov has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits:
> 
>  - Merge branch 'openjdk:master' into xcode
>  - Merge branch 'master' into xcode
>  - Merge branch 'openjdk:master' into xcode
>  - Drop "Fail-fast" code path
>  - Accept XCode 9+
>  - Add Xcode 13, 14 and 15

Option 3 is closest to what newer versions do. It's quite difficult at this point to get a system with XCode 9 up and running, much less 6, so the error message is likely to never be relevant. I think either option 2 or 3 is fine.

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

PR Comment: https://git.openjdk.org/jdk8u-dev/pull/422#issuecomment-1977350185


More information about the jdk8u-dev mailing list