-
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
Docsupport4x #12091
Closed
Closed
Docsupport4x #12091
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
3401a27
doc: add supported platforms list
mhdawson 3bee2eb
doc: add supported platforms list for v6.x
mhdawson 7f2c59c
doc: add supported platforms list for v4.x
mhdawson e12c4de
squash: address comments
mhdawson 93deed3
squash: address comments
mhdawson 4ecb36a
squash: fixup formatting
mhdawson 4c70422
squash: address comments
mhdawson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,61 @@ If you consistently can reproduce a test failure, search for it in the | |
[Node.js issue tracker](https://github.com/nodejs/node/issues) or | ||
file a new issue. | ||
|
||
## Supported platforms | ||
|
||
This list of supported platforms is current as of the branch / release to | ||
which it is attached. | ||
|
||
### Input | ||
|
||
Node.js relies on V8 and libuv. Therefore, we adopt a subset of their | ||
supported platforms. | ||
|
||
### Strategy | ||
|
||
Support is divided into three tiers: | ||
|
||
* **Tier 1**: Full test coverage and maintenance by the Node.js core team and | ||
the broader community. | ||
* **Tier 2**: Full test coverage but more limited maintenance, | ||
often provided by the vendor of the platform. | ||
* **Experimental**: Known to compile but not necessarily reliably or with | ||
a full passing test suite. These are often working to be promoted to Tier | ||
2 but are not quite ready. There is at least one individual actively | ||
providing maintenance and the team is striving to broaden quality and | ||
reliability of support. | ||
|
||
### Supported platforms | ||
|
||
| System | Support type | Version | Architectures | Notes | | ||
|--------------|--------------|----------------------------------|----------------------|------------------| | ||
| GNU/Linux | Tier 1 | kernel >= 2.6.18, glibc >= 2.5 | x86, x64, arm, arm64 | | | ||
| macOS | Tier 1 | >= 10.10 | x64 | | | ||
| Windows | Tier 1 | >= Windows 7 or >= Windows2008R2 | x86, x64 | | | ||
| SmartOS | Tier 2 | >= 14 | x86, x64 | | | ||
| FreeBSD | Tier 2 | >= 10 | x64 | | | ||
| GNU/Linux | Tier 2 | kernel >= 4.2.0, glibc >= 2.19 | ppc64be | | | ||
| GNU/Linux | Tier 2 | kernel >= 3.13.0, glibc >= 2.19 | ppc64le | | | ||
| macOS | Experimental | >= 10.8 < 10.10 | x64 | no test coverage | | ||
| Linux (musl) | Experimental | musl >= 1.0 | x64 | | | ||
|
||
|
||
### Supported toolchains | ||
|
||
Depending on host platform, the selection of toolchains may vary. | ||
|
||
#### Unix | ||
|
||
* GCC 4.8 or newer | ||
* Clang 3.4 or newer | ||
|
||
#### Windows | ||
|
||
* Building Node: Visual Studio 2013 or Visual C++ Build Tools 2013 or newer | ||
* Building native add-ons: Visual Studio 2013 or Visual C++ Build Tools 2013 | ||
or newer | ||
|
||
## Building Node.js on supported platforms | ||
|
||
### Unix / OS X | ||
|
||
|
@@ -20,9 +75,9 @@ Prerequisites: | |
|
||
On OS X, you will also need: | ||
* [Xcode](https://developer.apple.com/xcode/download/) | ||
* You also need to install the `Command Line Tools` via Xcode. You can find | ||
- You also need to install the `Command Line Tools` via Xcode. You can find | ||
this under the menu `Xcode -> Preferences -> Downloads` | ||
* This step will install `gcc` and the related toolchain containing `make` | ||
- This step will install `gcc` and the related toolchain containing `make` | ||
|
||
* After building, you may want to setup [firewall rules](tools/macosx-firewall.sh) | ||
to avoid popups asking to accept incoming network connections when running tests: | ||
|
@@ -53,6 +108,9 @@ $ make | |
$ [sudo] make install | ||
``` | ||
|
||
Note that the above requires that `python` resolve to Python 2.6 or 2.7 | ||
and not a newer version. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems more clear to me to just point out that python 3.x isn't supported. |
||
|
||
To run the tests: | ||
|
||
```text | ||
|
@@ -263,9 +321,11 @@ It is possible to build Node.js with | |
|
||
**Note**: building in this way does **not** allow you to claim that the | ||
runtime is FIPS 140-2 validated. Instead you can indicate that the runtime | ||
uses a validated module. See the [security policy](http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf) | ||
uses a validated module. See the | ||
[security policy](http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf) | ||
page 60 for more details. In addition, the validation for the underlying module | ||
is only valid if it is deployed in accordance with its [security policy](http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf). | ||
is only valid if it is deployed in accordance with its | ||
[security policy](http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf). | ||
If you need FIPS validated cryptography it is recommended that you read both | ||
the [security policy](http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf) | ||
and [user guide](https://openssl.org/docs/fips/UserGuide-2.0.pdf). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
3.4.1 or newer.