Skip to content

Commit e05eb3e

Browse files
shigekiBethGriggs
authored andcommitted
doc: fix assembler requirement for OpenSSL-1.1.1
Add new requirements of assembler version for AVX-512 support in OpenSSL-1.1.1. Backport-PR-URL: #26270 PR-URL: #25381 Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Shigeki Ohtsu <[email protected]>
1 parent 639b1d2 commit e05eb3e

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

BUILDING.md

+14-5
Original file line numberDiff line numberDiff line change
@@ -129,20 +129,29 @@ Depending on the host platform, the selection of toolchains may vary.
129129

130130
#### OpenSSL asm support
131131

132-
OpenSSL-1.1.0 requires the following assembler version for use of asm
132+
OpenSSL-1.1.1 requires the following assembler version for use of asm
133133
support on x86_64 and ia32.
134134

135+
For use of AVX-512,
136+
137+
* gas (GNU assembler) version 2.26 or higher
138+
* nasm version 2.11.8 or higher in Windows
139+
140+
Note that AVX-512 is disabled for Skylake-X by OpenSSL-1.1.1.
141+
142+
For use of AVX2,
143+
135144
* gas (GNU assembler) version 2.23 or higher
136145
* Xcode version 5.0 or higher
137146
* llvm version 3.3 or higher
138147
* nasm version 2.10 or higher in Windows
139148

140-
If compiling without one of the above, use `configure` with the
141-
`--openssl-no-asm` flag. Otherwise, `configure` will fail.
142-
143-
The forthcoming OpenSSL-1.1.1 will have different requirements. Please refer to
149+
Please refer to
144150
https://www.openssl.org/docs/man1.1.1/man3/OPENSSL_ia32cap.html for details.
145151

152+
If compiling without one of the above, use `configure` with the
153+
`--openssl-no-asm` flag. Otherwise, `configure` will fail.
154+
146155
## Building Node.js on supported platforms
147156

148157
The [bootstrapping guide](https://github.com/nodejs/node/blob/master/tools/bootstrap/README.md)

0 commit comments

Comments
 (0)