Skip to content

Commit

Permalink
disable avx512 on x86_64-mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
Crghilardi committed Oct 9, 2021
1 parent c72dd42 commit b74762f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions V/VOLK/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ cd $WORKSPACE/srcdir/volk-*
if [[ ${target} == *-freebsd* ]]; then
#this is not in 0.6.0 release, but has been added on master, can probably remove after next release
atomic_patch -p1 "${WORKSPACE}/srcdir/patches/add-freebsd-macros.patch"
elif [[ ${target} == x86_64-w64-mingw* ]]; then
#disable avx512 on x86_64-mingw to avoid "Error: invalid register for .seh_savexmm". This is not needed on i686-mingw for some reason?
#copied from https://github.com/xianyi/OpenBLAS/issues/1801
export CFLAGS="${CFLAGS} -fno-asynchronous-unwind-tables"
fi
mkdir build
Expand Down

0 comments on commit b74762f

Please sign in to comment.