Skip to content

Commit

Permalink
8265031: Change default macOS min version for x86_64 to 10.12 and aar…
Browse files Browse the repository at this point in the history
…ch64 to 11.0

Reviewed-by: jvos, arapte, pbansal
  • Loading branch information
kevinrushforth committed Apr 14, 2021
1 parent c8384a1 commit e8689fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buildSrc/mac.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ def defaultSdkPath = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOS

// Set the minimum API version that we require (developers do not need to override this)
// Note that this is not necessarily the same as the preferred SDK version
defineProperty("MACOSX_MIN_VERSION", "10.10");
def isAarch64 = TARGET_ARCH == "aarch64" || TARGET_ARCH == "arm64";
def macOSMinVersion = isAarch64 ? "11.0" : "10.12";
defineProperty("MACOSX_MIN_VERSION", macOSMinVersion);

// Create $buildDir/mac_tools.properties file and load props from it
setupTools("mac_tools",
Expand Down

1 comment on commit e8689fe

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.