Add -march option for AVX512
@@ -96,3 +96,10 @@ if (${CMAKE_C_COMPILER_ID} STREQUAL "SUN")
endif ()
endif ()
+if (${CORE} STREQUAL "SKYLAKEX")
+ if (NOT DYNAMIC_ARCH)
+ if (NOT NO_AVX512)
+ set (CCOMMON_OPT = "${CCOMMON_OPT} -march=skylake-avx512")
+ endif ()
+ endif ()
+endif ()
