Disable avx/avx2 for Visual Studio 2010
VS2010 only supports avx. There is currently no avx code in libvpx so don't create a special case for it. Change-Id: Iacb10ea4762155412e04f23904b4324d01451fbd
This commit is contained in:
parent
46ce6ddec4
commit
e813843b46
@ -1078,7 +1078,7 @@ EOF
|
|||||||
msvs_arch_dir=x86-msvs
|
msvs_arch_dir=x86-msvs
|
||||||
vc_version=${tgt_cc##vs}
|
vc_version=${tgt_cc##vs}
|
||||||
case $vc_version in
|
case $vc_version in
|
||||||
7|8|9)
|
7|8|9|10)
|
||||||
echo "${tgt_cc} does not support avx/avx2, disabling....."
|
echo "${tgt_cc} does not support avx/avx2, disabling....."
|
||||||
RTCD_OPTIONS="${RTCD_OPTIONS}--disable-avx --disable-avx2 "
|
RTCD_OPTIONS="${RTCD_OPTIONS}--disable-avx --disable-avx2 "
|
||||||
soft_disable avx
|
soft_disable avx
|
||||||
|
Loading…
Reference in New Issue
Block a user