Bug 1073319 - Enable AVX2 for libvpx on linux (update.py). r=rillian

This commit is contained in:
Jan Gerber 2015-07-16 02:37:00 -07:00
parent 4cadde8b45
commit b8500322f0
2 changed files with 2 additions and 5 deletions

View File

@ -22,10 +22,8 @@ if CONFIG['VPX_X86_ASM']:
if '64' in CONFIG['OS_TEST']:
SOURCES += files['X86-64_ASM']
# AVX2 only supported on
# Darwin and Windows toolchains right now
if CONFIG['OS_TARGET'] in ('Darwin', 'WINNT'):
SOURCES += files['AVX2']
#avx2 can be enabled on all supported compilters
SOURCES += files['AVX2']
#postproc is only enabled on x86 with asm
SOURCES += files['VP8_POSTPROC']

View File

@ -405,7 +405,6 @@ def prepare_upstream(prefix, commit=None):
configure += ['--enable-pic']
if 'linux' in target:
configure += ['--enable-pic']
configure += ['--disable-avx2']
# x86inc.asm is not compatible with pic 32bit builds
if target == 'x86-linux-gcc':
configure += ['--disable-use-x86inc']