-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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: remove dependency on icu io library #13656
Conversation
@srl295 Apropos tools/icu/patches, am I right the 54 and 55 directories can be deleted? Building against those versions doesn't work any more, AFAIK, or does it? |
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.
👍
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.
Assuming that everything still works, rubber stamp LGTM
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 if it still builds. I don't see a change to tools/icu/*.py (forget where) to keep io from coming back the next time an icu is pulled in.
It should still work. |
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.
Please add 'io' to https://github.com/nodejs/node/blob/master/tools/icu/shrink-icu-src.py#L57 (next to layoutex etc )
The library is only used in a single build-time tool where it can be easily substituted by regular libc I/O functions.
The previous commit removed the dependency on the code in that directory. This commit removes the directory itself and shrinks the source tarball by about 200 kB.
@srl295 Updated. Am I right that file is only run manually? I.e., not as part of any build step? |
Windows fail looks like infra, rerun: https://ci.nodejs.org/job/node-test-commit-windows-fanned/9948/ |
The library is only used in a single build-time tool where it can be easily substituted by regular libc I/O functions. PR-URL: nodejs#13656 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
The previous commit removed the dependency on the code in that directory. This commit removes the directory itself and shrinks the source tarball by about 200 kB. PR-URL: nodejs#13656 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
Landed in 87d682b...6bf4c23, cheers. |
The library is only used in a single build-time tool where it can be easily substituted by regular libc I/O functions. PR-URL: #13656 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
The previous commit removed the dependency on the code in that directory. This commit removes the directory itself and shrinks the source tarball by about 200 kB. PR-URL: #13656 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
The library is only used in a single build-time tool where it can be easily substituted by regular libc I/O functions. PR-URL: #13656 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
The previous commit removed the dependency on the code in that directory. This commit removes the directory itself and shrinks the source tarball by about 200 kB. PR-URL: #13656 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
The library is only used in a single build-time tool where it can be easily substituted by regular libc I/O functions. PR-URL: #13656 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
The previous commit removed the dependency on the code in that directory. This commit removes the directory itself and shrinks the source tarball by about 200 kB. PR-URL: #13656 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
Should this be backported to |
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.
👍
@@ -56,6 +56,7 @@ def icu_ignore(dir, files): | |||
elif subdir == 'source': | |||
ign = ign + ['layout','samples','test','extra','config','layoutex','allinone','data'] | |||
ign = ign + ['runConfigureICU','install-sh','mkinstalldirs','configure'] | |||
ign = ign + ['io'] |
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.
👍
The library is only used in a single build-time tool where it can be
easily substituted by regular libc I/O functions.
Split into two commits for easier review.
CI: https://ci.nodejs.org/job/node-test-pull-request/8629/CI: https://ci.nodejs.org/job/node-test-pull-request/8630/