OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 ## | 2 ## |
3 ## configure | 3 ## configure |
4 ## | 4 ## |
5 ## This script is the front-end to the build system. It provides a similar | 5 ## This script is the front-end to the build system. It provides a similar |
6 ## interface to standard configure scripts with some extra bits for dealing | 6 ## interface to standard configure scripts with some extra bits for dealing |
7 ## with toolchains that differ from the standard POSIX interface and | 7 ## with toolchains that differ from the standard POSIX interface and |
8 ## for extracting subsets of the source tree. In theory, reusable parts | 8 ## for extracting subsets of the source tree. In theory, reusable parts |
9 ## of this script were intended to live in build/make/configure.sh, | 9 ## of this script were intended to live in build/make/configure.sh, |
10 ## but in practice, the line is pretty blurry. | 10 ## but in practice, the line is pretty blurry. |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 all_platforms="${all_platforms} armv7-linux-gcc" #neon Cortex-A8 | 99 all_platforms="${all_platforms} armv7-linux-gcc" #neon Cortex-A8 |
100 all_platforms="${all_platforms} armv7-none-rvct" #neon Cortex-A8 | 100 all_platforms="${all_platforms} armv7-none-rvct" #neon Cortex-A8 |
101 all_platforms="${all_platforms} mips32-linux-gcc" | 101 all_platforms="${all_platforms} mips32-linux-gcc" |
102 all_platforms="${all_platforms} ppc32-darwin8-gcc" | 102 all_platforms="${all_platforms} ppc32-darwin8-gcc" |
103 all_platforms="${all_platforms} ppc32-darwin9-gcc" | 103 all_platforms="${all_platforms} ppc32-darwin9-gcc" |
104 all_platforms="${all_platforms} ppc32-linux-gcc" | 104 all_platforms="${all_platforms} ppc32-linux-gcc" |
105 all_platforms="${all_platforms} ppc64-darwin8-gcc" | 105 all_platforms="${all_platforms} ppc64-darwin8-gcc" |
106 all_platforms="${all_platforms} ppc64-darwin9-gcc" | 106 all_platforms="${all_platforms} ppc64-darwin9-gcc" |
107 all_platforms="${all_platforms} ppc64-linux-gcc" | 107 all_platforms="${all_platforms} ppc64-linux-gcc" |
108 all_platforms="${all_platforms} sparc-solaris-gcc" | 108 all_platforms="${all_platforms} sparc-solaris-gcc" |
| 109 all_platforms="${all_platforms} x86-android-gcc" |
109 all_platforms="${all_platforms} x86-darwin8-gcc" | 110 all_platforms="${all_platforms} x86-darwin8-gcc" |
110 all_platforms="${all_platforms} x86-darwin8-icc" | 111 all_platforms="${all_platforms} x86-darwin8-icc" |
111 all_platforms="${all_platforms} x86-darwin9-gcc" | 112 all_platforms="${all_platforms} x86-darwin9-gcc" |
112 all_platforms="${all_platforms} x86-darwin9-icc" | 113 all_platforms="${all_platforms} x86-darwin9-icc" |
113 all_platforms="${all_platforms} x86-darwin10-gcc" | 114 all_platforms="${all_platforms} x86-darwin10-gcc" |
114 all_platforms="${all_platforms} x86-darwin11-gcc" | 115 all_platforms="${all_platforms} x86-darwin11-gcc" |
115 all_platforms="${all_platforms} x86-darwin12-gcc" | 116 all_platforms="${all_platforms} x86-darwin12-gcc" |
116 all_platforms="${all_platforms} x86-linux-gcc" | 117 all_platforms="${all_platforms} x86-linux-gcc" |
117 all_platforms="${all_platforms} x86-linux-icc" | 118 all_platforms="${all_platforms} x86-linux-icc" |
118 all_platforms="${all_platforms} x86-os2-gcc" | 119 all_platforms="${all_platforms} x86-os2-gcc" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 ${ARCH_EXT_LIST} | 232 ${ARCH_EXT_LIST} |
232 vpx_ports | 233 vpx_ports |
233 stdint_h | 234 stdint_h |
234 alt_tree_layout | 235 alt_tree_layout |
235 pthread_h | 236 pthread_h |
236 sys_mman_h | 237 sys_mman_h |
237 unistd_h | 238 unistd_h |
238 " | 239 " |
239 EXPERIMENT_LIST=" | 240 EXPERIMENT_LIST=" |
240 csm | 241 csm |
241 comp_intra_pred | |
242 superblocks | |
243 pred_filter | |
244 lossless | 242 lossless |
245 subpelrefmv | |
246 new_mvref | 243 new_mvref |
247 implicit_segmentation | 244 implicit_segmentation |
248 newbintramodes | 245 newbintramodes |
249 comp_interintra_pred | 246 comp_interintra_pred |
| 247 tx64x64 |
| 248 dwtdcthybrid |
| 249 cnvcontext |
| 250 newcoefcontext |
| 251 enable_6tap |
| 252 abovesprefmv |
250 " | 253 " |
251 CONFIG_LIST=" | 254 CONFIG_LIST=" |
252 external_build | 255 external_build |
253 install_docs | 256 install_docs |
254 install_bins | 257 install_bins |
255 install_libs | 258 install_libs |
256 install_srcs | 259 install_srcs |
257 debug | 260 debug |
258 gprof | 261 gprof |
259 gcov | 262 gcov |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 fi | 656 fi |
654 | 657 |
655 # Enable unit tests if we have a working C++ compiler | 658 # Enable unit tests if we have a working C++ compiler |
656 case "$toolchain" in | 659 case "$toolchain" in |
657 *-vs*) | 660 *-vs*) |
658 soft_enable unit_tests | 661 soft_enable unit_tests |
659 ;; | 662 ;; |
660 *-android-*) | 663 *-android-*) |
661 # GTestLog must be modified to use Android logging utilities. | 664 # GTestLog must be modified to use Android logging utilities. |
662 ;; | 665 ;; |
| 666 *-darwin-*) |
| 667 # iOS/ARM builds do not work with gtest. This does not match |
| 668 # x86 targets. |
| 669 ;; |
663 *) | 670 *) |
664 check_cxx "$@" <<EOF && soft_enable unit_tests | 671 check_cxx "$@" <<EOF && soft_enable unit_tests |
665 int z; | 672 int z; |
666 EOF | 673 EOF |
667 ;; | 674 ;; |
668 esac | 675 esac |
669 } | 676 } |
670 | 677 |
671 | 678 |
672 ## | 679 ## |
673 ## END APPLICATION SPECIFIC CONFIGURATION | 680 ## END APPLICATION SPECIFIC CONFIGURATION |
674 ## | 681 ## |
675 CONFIGURE_ARGS="$@" | 682 CONFIGURE_ARGS="$@" |
676 process "$@" | 683 process "$@" |
677 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" | 684 print_webm_license ${BUILD_PFX}vpx_config.c "/*" " */" |
678 cat <<EOF >> ${BUILD_PFX}vpx_config.c | 685 cat <<EOF >> ${BUILD_PFX}vpx_config.c |
679 static const char* const cfg = "$CONFIGURE_ARGS"; | 686 static const char* const cfg = "$CONFIGURE_ARGS"; |
680 const char *vpx_codec_build_config(void) {return cfg;} | 687 const char *vpx_codec_build_config(void) {return cfg;} |
681 EOF | 688 EOF |
OLD | NEW |