Skip to content

Commit bf8c064

Browse files
committed
Build OpenSSL et al on 32-bit x86 with -msse2
Newer BoringSSL requires SSE2 on 32-bit x86, but I opted to apply it to all the OpenSSLs that CI builds. This allows the compiler to vectorize random bits of the library, so hopefully it'll run faster on CI. Especially with 32-bit x86 being so register-poor. Additionally, Rust's definition of i686 already assumes SSE2 (see rust-lang/rust#82435), so there's no sense in pretending to test pre-SSE2 targets.
1 parent 8d25aa3 commit bf8c064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ jobs:
277277
;;
278278
"i686-unknown-linux-gnu")
279279
OS_COMPILER=linux-elf
280-
OS_FLAGS=-m32
280+
OS_FLAGS=-m32 -msse2
281281
;;
282282
"arm-unknown-linux-gnueabihf")
283283
OS_COMPILER=linux-armv4

0 commit comments

Comments
 (0)