| Index: generate_gypi.sh
|
| ===================================================================
|
| --- generate_gypi.sh (revision 263441)
|
| +++ generate_gypi.sh (working copy)
|
| @@ -88,6 +88,15 @@
|
| echo " 'OTHER_CFLAGS': [ '-m$4', ]," >> $2
|
| echo " }," >> $2
|
| echo " }]," >> $2
|
| + if [[ $4 == avx* ]]; then
|
| + echo " ['OS==\"win\"', {" >> $2
|
| + echo " 'msvs_settings': {" >> $2
|
| + echo " 'VCCLCompilerTool': {" >> $2
|
| + echo " 'EnableEnhancedInstructionSet': '3', # /arch:AVX" >> $2
|
| + echo " }," >> $2
|
| + echo " }," >> $2
|
| + echo " }]," >> $2
|
| + fi
|
| echo " ]," >> $2
|
| echo " }," >> $2
|
| }
|
| @@ -320,8 +329,8 @@
|
| gen_config_files linux/arm-neon-cpu-detect "--target=armv7-linux-gcc --enable-pic --enable-realtime-only --enable-runtime-cpu-detect ${all_platforms}"
|
| gen_config_files linux/mipsel "--target=mips32-linux-gcc --disable-fast-unaligned ${all_platforms}"
|
| gen_config_files linux/generic "--target=generic-gnu --enable-pic --enable-realtime-only ${all_platforms}"
|
| -gen_config_files win/ia32 "--target=x86-win32-vs7 --enable-realtime-only ${all_platforms}"
|
| -gen_config_files win/x64 "--target=x86_64-win64-vs9 --enable-realtime-only ${all_platforms}"
|
| +gen_config_files win/ia32 "--target=x86-win32-vs12 --enable-realtime-only ${all_platforms}"
|
| +gen_config_files win/x64 "--target=x86_64-win64-vs12 --enable-realtime-only ${all_platforms}"
|
| gen_config_files mac/ia32 "--target=x86-darwin9-gcc --enable-pic --enable-realtime-only ${all_platforms}"
|
| gen_config_files mac/x64 "--target=x86_64-darwin9-gcc --enable-pic --enable-realtime-only ${all_platforms}"
|
| gen_config_files nacl "--target=generic-gnu --enable-pic --enable-realtime-only ${all_platforms}"
|
|
|