Skip to content

Commit c5f88f5

Browse files
authored
Merge pull request #1807 from xianyi/revert-1798-cmake-avx512
Revert "Add -march=skylake-avx512 when required"
2 parents 8f7e986 + 84bcdf9 commit c5f88f5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cmake/system_check.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ if (X86_64 OR X86)
7171
execute_process(COMMAND ${CMAKE_C_COMPILER} -march=skylake-avx512 -v -o ${PROJECT_BINARY_DIR}/avx512.o -x c ${PROJECT_BINARY_DIR}/avx512.tmp OUTPUT_QUIET ERROR_QUIET RESULT_VARIABLE NO_AVX512)
7272
if (NO_AVX512 EQUAL 1)
7373
set (CCOMMON_OPT "${CCOMMON_OPT} -DNO_AVX512")
74-
else()
75-
set (CCOMMON_OPT "${CCOMMON_OPT} -march=skylake-avx512")
7674
endif()
7775
file(REMOVE "avx512.tmp" "avx512.o")
7876
endif()

0 commit comments

Comments
 (0)