-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: add support for IBM i platform #19667
Conversation
cc @nodejs/platform-aix @nodejs/build |
Approving in general, but have couple of comments:
Thanks @ThePrez ! |
node.gyp
Outdated
['"<(real_os_name)"=="OS400"', { | ||
'ldflags': [ | ||
'-Wl,-blibpath:/QOpenSys/pkgs/lib:/QOpenSys/usr/lib', | ||
'-Wl,-bbigtoc', '-Wl,-brtl' |
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.
Can you put the second argument on its own line? And maybe add a comma to keep future diffs smaller, same on lines 104 and 369.
Probably an infrastructure issue. I think I've seen that happen before. New CI: https://ci.nodejs.org/job/node-test-pull-request/13920/ |
@gireeshpunathil, thanks for the review! Direct responses to your questions:
|
@bnoordhuis, I addressed your suggestions via an amended commit. Thanks! |
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
Not planning to block and don't have context to review, but would appreciate if we could get sign off from someone who is not an IBM employee. Have full faith in those involved, but think it would be good optics. |
How do you envision that? I don't think there's anyone with a IBM i at their disposal to test the PR on. |
@cjihrig any chance you would sign off? |
Failure on debian looks unrelated- #19841 |
Failure on freebsd was:#19804 CI trying again:https://ci.nodejs.org/job/node-test-pull-request/14082/ |
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. These same folks have been doing a fine job maintaining IBM i in libuv.
Lets hope 3rd time is the charm and no infra issues: https://ci.nodejs.org/job/node-test-pull-request/14158/ |
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.
rubber-stampy lgtm
Ok, given the mix of CI runs, all of the tests have passed at least once. In addition, there are open issues for the flaky tests that failed in one of the CI runs, going to land. |
PR-URL: #19667 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Landed as 8170f4f |
PR-URL: #19667 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This pull request proposes some minor changes to support builds on the IBM i platform.
Let me offer some background that (I hope) will help you make sense of these small changes.
We added support to libuv in a similar manner. For reference: https://github.com/libuv/libuv/blob/edf05b97f03472def2837ceb2d6bf61a0d0dc248/uv.gyp#L296
In future work, I'd like to add IBM i as a supported platform, and will contribute relevant documentation at that point.
Thank you for consideration.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes