Please sign in to comment.
Fix detection of AVX512 capable compilers in getarch
21eda8b introduced a check in getarch.c to test if the compiler is capable of AVX512. This check currently fails, since the used __AVX2__ macro is only defined if getarch itself was compiled with AVX2/AVX512 support. Make sure this is the case by building getarch with -march=native on x86_64. It is only supposed to run on the build host anyway.
- Loading branch information...
Showing with 14 additions and 0 deletions.