mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-09-21 08:11:36 +02:00
add a Windows GNU AVX-512 build break workaround
The break in question only repros under --release, and we didn't start testing a release build of the prefer-intrinsics mode until just now.
This commit is contained in:
parent
96c36d5df9
commit
5fad419a8d
4
build.rs
4
build.rs
@ -148,6 +148,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
avx512_build.flag("-mavx512f");
|
||||
avx512_build.flag("-mavx512vl");
|
||||
}
|
||||
if is_windows_gnu() {
|
||||
// Workaround for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65782.
|
||||
avx512_build.flag("-fno-asynchronous-unwind-tables");
|
||||
}
|
||||
avx512_build.compile("blake3_avx512");
|
||||
} else {
|
||||
// Currently no effect for non-x86 platforms.
|
||||
|
Loading…
Reference in New Issue
Block a user