From 649cd6ec90107eb4feaad97e18184b78f161c9fa Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Thu, 10 Mar 2022 20:30:25 -0500 Subject: [PATCH] build: bump macOS deployment target to 10.15 Update the macOS deployment target for Node.js 18 onwards. --- BUILDING.md | 9 ++++----- common.gypi | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index a1399446392f5d..bb3d16cde2fade 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -113,7 +113,7 @@ platforms. This is true regardless of entries in the table below. | Windows | x86 (native) | >= Windows 10/Server 2016 | Tier 1 (running) / Experimental (compiling)[^6] | | | Windows | x64, x86 | Windows 8.1/Server 2012 | Experimental | | | Windows | arm64 | >= Windows 10 | Tier 2 (compiling) / Experimental (running) | | -| macOS | x64 | >= 10.13 | Tier 1 | For notes about compilation see [^7] | +| macOS | x64 | >= 10.15 | Tier 1 | For notes about compilation see [^7] | | macOS | arm64 | >= 11 | Tier 1 | | | SmartOS | x64 | >= 18 | Tier 2 | | | AIX | ppc64be >=power7 | >= 7.2 TL04 | Tier 2 | | @@ -151,8 +151,7 @@ platforms. This is true regardless of entries in the table below. Furthermore, compiling on x86 Windows is Experimental and may not be possible. -[^7]: Our macOS x64 Binaries are compiled with 10.13 as a target. - However there is no guarantee compiling on 10.13 will work as Xcode11 is +[^7]: Our macOS x64 Binaries are compiled with 10.15 as a target. Xcode11 is required to compile. ### Supported toolchains @@ -172,8 +171,8 @@ Binaries at are produced on: | Binary package | Platform and Toolchain | | ----------------------- | ------------------------------------------------------------------------------------------------------------- | | aix-ppc64 | AIX 7.2 TL04 on PPC64BE with GCC 8 | -| darwin-x64 | macOS 10.15, Xcode Command Line Tools 11 with -mmacosx-version-min=10.13 | -| darwin-arm64 (and .pkg) | macOS 11 (arm64), Xcode Command Line Tools 12 with -mmacosx-version-min=10.13 | +| darwin-x64 | macOS 10.15, Xcode Command Line Tools 11 with -mmacosx-version-min=10.15 | +| darwin-arm64 (and .pkg) | macOS 11 (arm64), Xcode Command Line Tools 12 with -mmacosx-version-min=10.15 | | linux-arm64 | CentOS 7 with devtoolset-8 / GCC 8[^8] | | linux-armv7l | Cross-compiled on Ubuntu 18.04 x64 with [custom GCC toolchain](https://github.com/rvagg/rpi-newer-crosstools) | | linux-ppc64le | CentOS 7 with devtoolset-8 / GCC 8[^8] | diff --git a/common.gypi b/common.gypi index fed781736bfa4c..878705a3496e5e 100644 --- a/common.gypi +++ b/common.gypi @@ -497,7 +497,7 @@ 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings 'PREBINDING': 'NO', # No -Wl,-prebind - 'MACOSX_DEPLOYMENT_TARGET': '10.13', # -mmacosx-version-min=10.13 + 'MACOSX_DEPLOYMENT_TARGET': '10.15', # -mmacosx-version-min=10.15 'USE_HEADERMAP': 'NO', 'OTHER_CFLAGS': [ '-fno-strict-aliasing',