We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f7e986 commit fa53b90Copy full SHA for fa53b90
cmake/system.cmake
@@ -41,6 +41,11 @@ if (DEFINED BINARY AND DEFINED TARGET AND BINARY EQUAL 32)
41
endif ()
42
43
44
+if (DEFINED TARGET AND ${TARGET} STREQUAL "SKYLAKEX" AND NOT NO_AVX512)
45
+ set (CCOMMON_OPT "${CCOMMON_OPT} -march=skylake-avx512")
46
+ set (FCOMMON_OPT "${FCOMMON_OPT} -march=skylake-avx512")
47
+endif()
48
+
49
if (DEFINED TARGET)
50
message(STATUS "Targeting the ${TARGET} architecture.")
51
set(GETARCH_FLAGS "-DFORCE_${TARGET}")
0 commit comments