diff options
author | Shigeki Ohtsu <ohtsu@ohtsu.org> | 2018-11-10 10:54:00 +0900 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2019-01-22 13:33:48 -0800 |
commit | 57119fbdb200702d6e2cf23428de4c458ae86bbc (patch) | |
tree | 0001623479d33717471dd343d2ced29176b8b95b /BUILDING.md | |
parent | 0534de6911a28954b07fc46de98bcffd015e3afc (diff) | |
download | android-node-v8-57119fbdb200702d6e2cf23428de4c458ae86bbc.tar.gz android-node-v8-57119fbdb200702d6e2cf23428de4c458ae86bbc.tar.bz2 android-node-v8-57119fbdb200702d6e2cf23428de4c458ae86bbc.zip |
doc: fix assembler requirement for OpenSSL-1.1.1
Add new requirements of assembler version for AVX-512 support
in OpenSSL-1.1.1.
PR-URL: https://github.com/nodejs/node/pull/25381
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
Diffstat (limited to 'BUILDING.md')
-rw-r--r-- | BUILDING.md | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/BUILDING.md b/BUILDING.md index b848f777f3..527a72a236 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -130,20 +130,29 @@ Depending on the host platform, the selection of toolchains may vary. #### OpenSSL asm support -OpenSSL-1.1.0 requires the following assembler version for use of asm +OpenSSL-1.1.1 requires the following assembler version for use of asm support on x86_64 and ia32. +For use of AVX-512, + +* gas (GNU assembler) version 2.26 or higher +* nasm version 2.11.8 or higher in Windows + +Note that AVX-512 is disabled for Skylake-X by OpenSSL-1.1.1. + +For use of AVX2, + * gas (GNU assembler) version 2.23 or higher * Xcode version 5.0 or higher * llvm version 3.3 or higher * nasm version 2.10 or higher in Windows -If compiling without one of the above, use `configure` with the -`--openssl-no-asm` flag. Otherwise, `configure` will fail. - -The forthcoming OpenSSL-1.1.1 will have different requirements. Please refer to +Please refer to https://www.openssl.org/docs/man1.1.1/man3/OPENSSL_ia32cap.html for details. + If compiling without one of the above, use `configure` with the +`--openssl-no-asm` flag. Otherwise, `configure` will fail. + ## Building Node.js on supported platforms The [bootstrapping guide](https://github.com/nodejs/node/blob/master/tools/bootstrap/README.md) |