node-gyp
node-gyp copied to clipboard
feat: Add proper support for IBM i
Checklist
- [x]
npm install && npm test
passes - [ ] tests are included
- [ ] documentation is changed or added
- [x] commit message follows commit guidelines
Description of change
Python 3.9 on IBM i now properly returns "os400" for sys.platform instead of claiming to be AIX as it did previously. While the IBM i PASE environment is compatible with AIX, it is a subset and has numerous differences which makes it beneficial to distinguish, however this means that it now needs explicit support here.
Related gpy-next PR: https://github.com/nodejs/gyp-next/pull/140
CC @ThePrez
The
gyp/
changes are a duplicate of nodejs/gyp-next#140. Ideally we'd merge in gyp-next and then update that here for those.Otherwise the node-gyp parts LGTM.
Hello @richardlau and @kadler , The PR nodejs/gyp-next#140 has been merged. Can we merge this PR as well now?
It looks like https://github.com/nodejs/gyp-next/pull/140 was released in gyp-next v0.11.0 so the next step would be to update gyp-next here (e.g. similar to one of the previous gyp-next updates, https://github.com/nodejs/node-gyp/pull/2521).
It looks like nodejs/gyp-next#140 was released in gyp-next v0.11.0 so the next step would be to update gyp-next here (e.g. similar to one of the previous gyp-next updates, #2521).
Hello @richardlau , I have submitted a PR #2642 based on the patch (https://github.com/nodejs/gyp-next/compare/v0.10.0...v0.11.0.patch). Would you review it? And @kadler , maybe you need to remove the duplicated code changes in this PR to resolve the conflicts?
Sorry, I didn't realize that gyp-next was an upstream of this package. If that's the case, then I think this PR is probably not necessary, since the changes would be covered by the updates in gyp-next 0.11.0. We can close this in favor of #2642 then.
Sorry, I didn't realize that gyp-next was an upstream of this package. If that's the case, then I think this PR is probably not necessary, since the changes would be covered by the updates in gyp-next 0.11.0. We can close this in favor of #2642 then.
We'll still need to update the files outside of the gyp
directory, which should be done in this PR.
Ah, ok. I'll rebase once #2642 lands then.
Duplicated PR landed -- https://github.com/nodejs/node/commit/b99bb57416f5eabc9d8375b93e03de21d8ed29ee So I closed feat(gyp): update gyp to v0.12.1
I used update-gyp.py to update to gpy-next v0.13.0 and rebased my changes. This should obsolete #2642.
I used update-gyp.py to update to gpy-next v0.13.0 and rebased my changes. This should obsolete #2642.
Closed issue feat(gyp): update gyp to v0.12.1
Looks like this has been approved, can it get merged?
@richardlau are you able to land?