Commit 9b744922 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

disable avx/avx2 for old versions of MSVC

Change-Id: Ifb40757c9c6b353482cfeef929af282ee0136c6c
parent 648e30bc
...@@ -1091,6 +1091,15 @@ EOF ...@@ -1091,6 +1091,15 @@ EOF
# Skip the check by setting AS arbitrarily # Skip the check by setting AS arbitrarily
AS=msvs AS=msvs
msvs_arch_dir=x86-msvs msvs_arch_dir=x86-msvs
case $vc_version in
echo "${tgt_cc} does not support avx/avx2, disabling....."
RTCD_OPTIONS="${RTCD_OPTIONS}--disable-avx --disable-avx2 "
soft_disable avx
soft_disable avx2
;; ;;
esac esac
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment