Skip to content

Commit 1134d8f

Browse files
authored
build: bump macOS deployment target to 10.15
Update the macOS deployment target for Node.js 18 onwards. PR-URL: #42292 Refs: nodejs/build#2815 Refs: libuv/libuv#3406 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Ash Cripps <acripps@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent 3f3fa6d commit 1134d8f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

BUILDING.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ platforms. This is true regardless of entries in the table below.
113113
| Windows | x86 (native) | >= Windows 10/Server 2016 | Tier 1 (running) / Experimental (compiling)[^6] | |
114114
| Windows | x64, x86 | Windows 8.1/Server 2012 | Experimental | |
115115
| Windows | arm64 | >= Windows 10 | Tier 2 (compiling) / Experimental (running) | |
116-
| macOS | x64 | >= 10.13 | Tier 1 | For notes about compilation see [^7] |
116+
| macOS | x64 | >= 10.15 | Tier 1 | For notes about compilation see [^7] |
117117
| macOS | arm64 | >= 11 | Tier 1 | |
118118
| SmartOS | x64 | >= 18 | Tier 2 | |
119119
| AIX | ppc64be >=power7 | >= 7.2 TL04 | Tier 2 | |
@@ -151,8 +151,7 @@ platforms. This is true regardless of entries in the table below.
151151
Furthermore, compiling on x86 Windows is Experimental and
152152
may not be possible.
153153

154-
[^7]: Our macOS x64 Binaries are compiled with 10.13 as a target.
155-
However there is no guarantee compiling on 10.13 will work as Xcode11 is
154+
[^7]: Our macOS x64 Binaries are compiled with 10.15 as a target. Xcode11 is
156155
required to compile.
157156

158157
### Supported toolchains
@@ -172,8 +171,8 @@ Binaries at <https://nodejs.org/download/release/> are produced on:
172171
| Binary package | Platform and Toolchain |
173172
| ----------------------- | ------------------------------------------------------------------------------------------------------------- |
174173
| aix-ppc64 | AIX 7.2 TL04 on PPC64BE with GCC 8 |
175-
| darwin-x64 | macOS 10.15, Xcode Command Line Tools 11 with -mmacosx-version-min=10.13 |
176-
| darwin-arm64 (and .pkg) | macOS 11 (arm64), Xcode Command Line Tools 12 with -mmacosx-version-min=10.13 |
174+
| darwin-x64 | macOS 10.15, Xcode Command Line Tools 11 with -mmacosx-version-min=10.15 |
175+
| darwin-arm64 (and .pkg) | macOS 11 (arm64), Xcode Command Line Tools 12 with -mmacosx-version-min=10.15 |
177176
| linux-arm64 | CentOS 7 with devtoolset-8 / GCC 8[^8] |
178177
| linux-armv7l | Cross-compiled on Ubuntu 18.04 x64 with [custom GCC toolchain](https://github.com/rvagg/rpi-newer-crosstools) |
179178
| linux-ppc64le | CentOS 7 with devtoolset-8 / GCC 8[^8] |

common.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@
497497
'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
498498
'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
499499
'PREBINDING': 'NO', # No -Wl,-prebind
500-
'MACOSX_DEPLOYMENT_TARGET': '10.13', # -mmacosx-version-min=10.13
500+
'MACOSX_DEPLOYMENT_TARGET': '10.15', # -mmacosx-version-min=10.15
501501
'USE_HEADERMAP': 'NO',
502502
'OTHER_CFLAGS': [
503503
'-fno-strict-aliasing',

0 commit comments

Comments
 (0)