Skip to content

build: add support for IBM i platform

Rodrigo Muino Tomonari requested to merge github/fork/ThePrez/master into master

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.

  • On IBM i, we enable a bulk of our open source technologies in an environment called the Portable Application Solution Environment (PASE).
  • PASE is an AIX-derived runtime. As such, many (but not all) AIX-capable applications and tools can run under the belief that they are running AIX.
  • The build environment on IBM i is a little different from AIX in that runtime linking is needed for most open source technologies, and an explicit libpath helps avoid conflicts with software that can exist outside the PASE environment.
  • The GYP build system thinks it's running AIX, but we can check for IBM i by querying uname output for "OS400" (legacy name of ancestor OS).

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), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading