Skip to content

Commit 910c879

Browse files
authored
doc: update BUILDING to reflect Clang 19 changes
Clang 19.1 is now tested and supported on Linux, and used to build some releases. Refs: nodejs/build#4091 PR-URL: #59782 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Ulises Gascón <[email protected]>
1 parent 73b5022 commit 910c879

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

BUILDING.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -155,25 +155,25 @@ Depending on the host platform, the selection of toolchains may vary.
155155

156156
| Operating System | Compiler Versions |
157157
| ---------------- | -------------------------------------------------------------- |
158-
| Linux | GCC >= 12.2 |
158+
| Linux | GCC >= 12.2 or Clang >= 19.1 |
159159
| Windows | Visual Studio >= 2022 with the Windows 10 SDK on a 64-bit host |
160160
| macOS | Xcode >= 16.3 (Apple LLVM >= 19) |
161161

162162
### Official binary platforms and toolchains
163163

164164
Binaries at <https://nodejs.org/download/release/> are produced on:
165165

166-
| Binary package | Platform and Toolchain |
167-
| ----------------------- | --------------------------------------------------------- |
168-
| aix-ppc64 | AIX 7.2 TL04 on PPC64BE with GCC 12[^5] |
169-
| darwin-x64 | macOS 13, Xcode 16 with -mmacosx-version-min=13.5 |
170-
| darwin-arm64 (and .pkg) | macOS 13 (arm64), Xcode 16 with -mmacosx-version-min=13.5 |
171-
| linux-arm64 | RHEL 8 with gcc-toolset-12[^6] |
172-
| linux-ppc64le | RHEL 8 with gcc-toolset-12[^6] |
173-
| linux-s390x | RHEL 8 with gcc-toolset-12[^6] |
174-
| linux-x64 | RHEL 8 with gcc-toolset-12[^6] |
175-
| win-arm64 | Windows Server 2022 (x64) with Visual Studio 2022 |
176-
| win-x64 | Windows Server 2022 (x64) with Visual Studio 2022 |
166+
| Binary package | Platform and Toolchain |
167+
| ----------------------- | ------------------------------------------------------------- |
168+
| aix-ppc64 | AIX 7.2 TL04 on PPC64BE with GCC 12[^5] |
169+
| darwin-x64 | macOS 13, Xcode 16 with -mmacosx-version-min=13.5 |
170+
| darwin-arm64 (and .pkg) | macOS 13 (arm64), Xcode 16 with -mmacosx-version-min=13.5 |
171+
| linux-arm64 | RHEL 8 with Clang 19.1 and gcc-toolset-14-libatomic-devel[^6] |
172+
| linux-ppc64le | RHEL 8 with Clang 19.1 and gcc-toolset-14-libatomic-devel[^6] |
173+
| linux-s390x | RHEL 8 with Clang 19.1 and gcc-toolset-14-libatomic-devel[^6] |
174+
| linux-x64 | RHEL 8 with Clang 19.1 and gcc-toolset-14-libatomic-devel[^6] |
175+
| win-arm64 | Windows Server 2022 (x64) with Visual Studio 2022 |
176+
| win-x64 | Windows Server 2022 (x64) with Visual Studio 2022 |
177177

178178
<!--lint disable final-definition-->
179179

@@ -232,7 +232,7 @@ Consult previous versions of this document for older versions of Node.js:
232232

233233
#### Unix prerequisites
234234

235-
* `gcc` and `g++` >= 12.2 or newer
235+
* `gcc` and `g++` >= 12.2 or `clang` and `clang++` >= 19.1
236236
* GNU Make 3.81 or newer
237237
* [A supported version of Python][Python versions]
238238
* For test coverage, your Python installation must include pip.

0 commit comments

Comments
 (0)