-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
build: bump minimum Clang version to 19 #59048
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Review requested:
|
I checked Visual Studio 2022 on my computer and it has Clang 19.1.5. |
/cc @nodejs/build @nodejs/tsc |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #59048 +/- ##
==========================================
- Coverage 89.98% 89.44% -0.54%
==========================================
Files 649 649
Lines 192180 192178 -2
Branches 37655 37367 -288
==========================================
- Hits 172934 171898 -1036
- Misses 11866 12824 +958
- Partials 7380 7456 +76 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
This is now required by V8. Refs: nodejs/node-v8#302
Landed in 8a87ba0 |
This is now required by V8. Refs: nodejs/node-v8#302 PR-URL: nodejs#59048 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
@targos the latest clang version on macOS with Xcode (latest 16.4) is still on v17. Does this change mean that the current latest macOS/Xcode toolchain is out of support? https://en.wikipedia.org/wiki/Xcode#Xcode_15.0_-_16.x_(since_visionOS_support)_2 (Even with Xcode for macOS 26, the clang version is still 17)
|
https://github.com/nodejs/node/blob/main/BUILDING.md#macos-prerequisites needs to be updated (though I think no available Xcode version comes with clang 19 for now). |
This is a "lie" from Apple. You can see the mapping from Xcode to true LLVM version here: https://en.wikipedia.org/wiki/Xcode#Xcode_15.0_-_16.x_(since_visionOS_support)_2 |
I guess we need to add a special case in the configure script to detect Apple Clang and compare with 17.0.0 on it. |
Yeah, LLVM is v19 |
This is now required by V8.
Refs: nodejs/node-v8#302