configure: don't test AVX512 if AVX2 wasn't found
Change-Id: I14839ba5678944c2864bffff14176f0e9236ad8c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
parent
8dc43adcbb
commit
a48b8ecc9c
3
configure
vendored
3
configure
vendored
@ -4586,6 +4586,9 @@ if [ "${CFG_AVX2}" = "auto" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# detect avx512 support
|
# detect avx512 support
|
||||||
|
if [ "${CFG_AVX2}" = "no" ]; then
|
||||||
|
CFG_AVX512=
|
||||||
|
fi
|
||||||
if [ "${CFG_AVX512}" = "auto" ]; then
|
if [ "${CFG_AVX512}" = "auto" ]; then
|
||||||
# First, test for AVX-512 Foundation
|
# First, test for AVX-512 Foundation
|
||||||
if compileTest common/avx512 "avx512f" AVX512=F; then
|
if compileTest common/avx512 "avx512f" AVX512=F; then
|
||||||
|
Loading…
Reference in New Issue
Block a user