build: fix build break when omitting icu#14533
build: fix build break when omitting icu#14533MSLaguana wants to merge 1 commit intonodejs:masterfrom
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! |
refack
left a comment
There was a problem hiding this comment.
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: |
|
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