Skip to content

Commit 5d5c528

Browse files
shigekitargos
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. PR-URL: #25381 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org> Backport-PR-URL: #25688
1 parent 5225214 commit 5d5c528

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
@@ -130,20 +130,29 @@ Depending on the host platform, the selection of toolchains may vary.
130130

131131
#### OpenSSL asm support
132132

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

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

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

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

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

0 commit comments

Comments
 (0)