Skip to content

Commit 4b380c0

Browse files
authored
Merge pull request #3175 from LYP951018/develop
Pass NO_AVX512 macro def when `DYNAMIC_ARCH` is enabled
2 parents a2216ef + 725432e commit 4b380c0

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)