-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
build: fix build break when omitting icu #14533
Conversation
When building without ICU (`vcbuild.bat intl-none`) the unicode/ucnv.h header is not available, which caused compilation errors prior to this change.
Note that the |
LGTM. Can you see if #14489 will fix build first though? |
I didn't see that PR earlier. Just had a look now, and I don't think it will fix the missing header issue that I was seeing since you don't touch any of the C files or headers. I'll try it out when I get some time. |
@TimothyGu just tried your PR, and got the same error about a missing header as I expected. |
@MSLaguana Okay, thanks for checking! |
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.
Need to figure out how to CI this...
CI (forced to build without a273b03) https://ci.nodejs.org/job/node-test-commit/11483/ |
@MSLaguana this might be incomplete, see CI results:
|
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.
Might be incomplete
Looks like you are right @refack, wonder why it built successfully for me without changes to that file too. I'll make sure I get the same error, then fix it as well. |
@refack I don't think your change to disable intl was complete. Inspector depends on it and checks
Maybe you can override |
Here's a CI run where I've overridden |
Well it builds, next get the tests to pass ( @MSLaguana I mean in a diffirent future PR ) |
I think that #14489 will help with the next failures, e.g. lint failing due to a lack of ICU should be fixed by that. |
Extra check of just this commit: https://ci.nodejs.org/job/node-test-commit-linuxone/7676/ |
When building without ICU (`vcbuild.bat intl-none`) the unicode/ucnv.h header is not available, which causes compilation errors. PR-URL: nodejs#14533 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Landed in 1782b38 |
When building without ICU (`vcbuild.bat intl-none`) the unicode/ucnv.h header is not available, which causes compilation errors. PR-URL: #14533 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
When building without ICU (
vcbuild.bat intl-none
) the unicode/ucnv.hheader is not available, which caused compilation errors prior to this
change.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
Build