-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Document the supported platforms #983
Comments
For linux, I'd put the baseline at kernel 2.6.18 and glibc 2.5. We have centos5 bots in our CI matrix that cover that configuration. I don't think we ever made any promises w.r.t. freebsd except latest -STABLE. I'm open to extending it to STABLE-1 because that probably covers 95% of the freebsd user base but we don't currently have fbsd9 machines in our matrix. I'd be perfectly happy relegating solaris to tier 3. Realistically, the only user is Joyent by means of node.js, and if they can't be arsed to put in the effort, I don't see why we should either. |
Updated.
I set it to 9, since we support < 10 in v1.x and 9 is still supported until the end of the year.
Done. I'll put up a PR tomorrow so it's easier to comment on. |
Maybe mention that fbsd9 is tier 2 in that it's not tested regularly but we'll keep it in working shape until the end of the year. |
How is the linux musl combination tested? Android? |
@txdv Tier 2, it's not tested. It can be easily tested with any of the ubuntu bots by installing musl-tools and exporting some env variables though. |
Is there some write up on how to do that? |
We have an alpine/musl buildbot for node.js now. It could be extended to test libuv as well. No android so far: nodejs/build#359 |
Do what? Compile with musl? Copying my own notes: First install the musl-gcc wrapper (on Debian):
Now set some environment variables:
(in this case I think you can leave the CFLAGS out, and the resulting binary will be linked with the musl runtime library) |
Oh, great! I'll open an issue in nodejs/build then |
PR: #991 |
How about having some #ifdef magic to raise some readable errors on unsupported platform, pointing to SUPPORTED_PLATFORMS.md or libuv doc |
Not sure we'd like that. It's possible libuv actually works in other platforms (I think HP-UX was sort-of working) so I'd rather try and if compilation fails they'll come. |
I'd like us to have a SUPPORTED_PLATFORMS.md file with the following content, linked from the README. This is just a starting point, let's work through it and I'll make a proper PR:
Supported platforms
Support types
This is for v1.x, I'll adjust accordingly for master / v2.x. I also took the liberty of making SunOS tier 2. Joyent should keep it in check IMHO.
The text was updated successfully, but these errors were encountered: