Commit 232448d6 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Use the correct variable to detect whether we are compiling on an AVX-512 platform with ICC.

parent 728c21e1
......@@ -452,10 +452,11 @@ if test "$enable_opt" = "yes" ; then
detected_ax_gcc_arch=`echo $ax_gcc_arch | awk '{print $1;}'`
detected_ax_icc_flag=`echo $icc_flags | awk '{print $1;}'`
# Choose the best flags for the gravity sub-library on this compiler and architecture
if test "$ax_cv_c_compiler_vendor" = "intel"; then
if test "$detected_ax_gcc_arch" = "skylake-avx512"; then
if test "$detected_ax_icc_flag" = "-xCORE-AVX512"; then
AC_MSG_WARN([No additional flags needed for gravity on this platform])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment