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.
2 parents c5f88f5 + 8a11ec1 commit 56ebc7bCopy full SHA for 56ebc7b
cmake/system.cmake
@@ -41,6 +41,13 @@ if (DEFINED BINARY AND DEFINED TARGET AND BINARY EQUAL 32)
41
endif ()
42
43
44
+if (DEFINED TARGET)
45
+if (${TARGET} STREQUAL "SKYLAKEX" AND NOT NO_AVX512)
46
+ set (CCOMMON_OPT "${CCOMMON_OPT} -march=skylake-avx512")
47
+ set (FCOMMON_OPT "${FCOMMON_OPT} -march=skylake-avx512")
48
+endif()
49
50
+
51
if (DEFINED TARGET)
52
message(STATUS "Targeting the ${TARGET} architecture.")
53
set(GETARCH_FLAGS "-DFORCE_${TARGET}")
0 commit comments