Skip to content

Commit c1e0cbe

Browse files
authored
Use full xcode for MacOS/aarch64 JDK11 (#2885)
Signed-off-by: Stewart X Addison <[email protected]>
1 parent 3bc4f22 commit c1e0cbe

File tree

1 file changed

+2
-2
lines changed
  • build-farm/platform-specific-configurations

1 file changed

+2
-2
lines changed

build-farm/platform-specific-configurations/mac.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ then
3030
export CONFIGURE_ARGS_FOR_ANY_PLATFORM="${CONFIGURE_ARGS_FOR_ANY_PLATFORM} --with-openssl=fetched --enable-openssl-bundling"
3131
fi
3232
else
33-
if [[ "$JAVA_FEATURE_VERSION" -ge 17 ]]; then
34-
# JDK17 requires metal (included in full xcode)
33+
if [[ "$JAVA_FEATURE_VERSION" -ge 17 ]] || [[ "${ARCHITECTURE}" == "aarch64" ]]; then
34+
# JDK17 requires metal (included in full xcode) as does JDK11 on aarch64
3535
XCODE_SWITCH_PATH="/Applications/Xcode.app"
3636
else
3737
# Command line tools used from JDK9-JDK16

0 commit comments

Comments
 (0)