Skip to content

Commit 725432e

Browse files
committed
pass NO_AVX512 macro def
1 parent a2216ef commit 725432e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmake/system.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,10 @@ if (NO_AVX2)
299299
set(CCOMMON_OPT "${CCOMMON_OPT} -DNO_AVX2")
300300
endif ()
301301

302+
if (NO_AVX512)
303+
set(CCOMMON_OPT "${CCOMMON_OPT} -DNO_AVX512")
304+
endif ()
305+
302306
if (USE_THREAD)
303307
# USE_SIMPLE_THREADED_LEVEL3 = 1
304308
# NO_AFFINITY = 1

0 commit comments

Comments
 (0)