Merge pull request #3175 from LYP951018/develop

Pass NO_AVX512 macro def when `DYNAMIC_ARCH` is enabled
This commit is contained in:
Martin Kroeker 2021-04-07 08:22:28 +02:00 committed by GitHub
commit 4b380c0b40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -299,6 +299,10 @@ if (NO_AVX2)
set(CCOMMON_OPT "${CCOMMON_OPT} -DNO_AVX2")
endif ()
if (NO_AVX512)
set(CCOMMON_OPT "${CCOMMON_OPT} -DNO_AVX512")
endif ()
if (USE_THREAD)
# USE_SIMPLE_THREADED_LEVEL3 = 1
# NO_AFFINITY = 1