Skip to content

Commit 4e39830

Browse files
targosmhdawson
authored andcommitted
build: bump supported macOS and Xcode versions
- Bump macOS deployment target to 11.0 - Bump Xcode to 13 This is to ensure some level of support for C++20 features. macOS 10.15 is no longer supported by Apple since September 2022. Xcode 13 is the most recent version that can run on macOS 11, which is the version we currently use to build releases. Refs: https://developer.apple.com/xcode/cpp/#c++20 PR-URL: #49164 Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent b45e196 commit 4e39830

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

BUILDING.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ platforms. This is true regardless of entries in the table below.
114114
| Windows | x86 (native) | >= Windows 10/Server 2016 | Tier 1 (running) / Experimental (compiling)[^4] | |
115115
| Windows | x64, x86 | Windows 8.1/Server 2012 | Experimental | |
116116
| Windows | arm64 | >= Windows 10 | Tier 2 | |
117-
| macOS | x64 | >= 10.15 | Tier 1 | For notes about compilation see [^5] |
118-
| macOS | arm64 | >= 11 | Tier 1 | |
117+
| macOS | x64 | >= 11.0 | Tier 1 | For notes about compilation see [^5] |
118+
| macOS | arm64 | >= 11.0 | Tier 1 | |
119119
| SmartOS | x64 | >= 18 | Tier 2 | |
120120
| AIX | ppc64be >=power8 | >= 7.2 TL04 | Tier 2 | |
121121
| FreeBSD | x64 | >= 12.4 | Experimental | |
@@ -143,7 +143,7 @@ platforms. This is true regardless of entries in the table below.
143143
Furthermore, compiling on x86 Windows is Experimental and
144144
may not be possible.
145145

146-
[^5]: Our macOS x64 Binaries are compiled with 10.15 as a target. Xcode11 is
146+
[^5]: Our macOS x64 Binaries are compiled with 11.0 as a target. Xcode 13 is
147147
required to compile.
148148

149149
### Supported toolchains
@@ -154,7 +154,7 @@ Depending on the host platform, the selection of toolchains may vary.
154154
| ---------------- | -------------------------------------------------------------- |
155155
| Linux | GCC >= 10.1 |
156156
| Windows | Visual Studio >= 2019 with the Windows 10 SDK on a 64-bit host |
157-
| macOS | Xcode >= 11 (Apple LLVM >= 11) |
157+
| macOS | Xcode >= 13 (Apple LLVM >= 12) |
158158

159159
### Official binary platforms and toolchains
160160

@@ -163,8 +163,8 @@ Binaries at <https://nodejs.org/download/release/> are produced on:
163163
| Binary package | Platform and Toolchain |
164164
| ----------------------- | ----------------------------------------------------------------------------------------------------------- |
165165
| aix-ppc64 | AIX 7.2 TL04 on PPC64BE with GCC 10 |
166-
| darwin-x64 | macOS 11, Xcode 12 with -mmacosx-version-min=10.15 |
167-
| darwin-arm64 (and .pkg) | macOS 11 (arm64), Xcode 12 with -mmacosx-version-min=10.15 |
166+
| darwin-x64 | macOS 11, Xcode 13 with -mmacosx-version-min=11.0 |
167+
| darwin-arm64 (and .pkg) | macOS 11 (arm64), Xcode 13 with -mmacosx-version-min=11.0 |
168168
| linux-arm64 | RHEL 8 with GCC 10[^6] |
169169
| linux-armv7l | Cross-compiled on RHEL 8 x64 with [custom GCC toolchain](https://github.com/rvagg/rpi-newer-crosstools)[^7] |
170170
| linux-ppc64le | RHEL 8 with gcc-toolset-10[^6] |
@@ -244,7 +244,7 @@ FreeBSD and OpenBSD users may also need to install `libexecinfo`.
244244

245245
#### macOS prerequisites
246246

247-
* Xcode Command Line Tools >= 11 for macOS
247+
* Xcode Command Line Tools >= 13 for macOS
248248
* Python >=3.6 <=3.11 (see note above)
249249
* For test coverage, your Python installation must include pip.
250250

common.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@
528528
'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
529529
'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
530530
'PREBINDING': 'NO', # No -Wl,-prebind
531-
'MACOSX_DEPLOYMENT_TARGET': '10.15', # -mmacosx-version-min=10.15
531+
'MACOSX_DEPLOYMENT_TARGET': '11.0', # -mmacosx-version-min=11.0
532532
'USE_HEADERMAP': 'NO',
533533
'OTHER_CFLAGS': [
534534
'-fno-strict-aliasing',

0 commit comments

Comments
 (0)