summaryrefslogtreecommitdiff
path: root/build/make/configure.sh
AgeCommit message (Collapse)Author
2015-05-12Remove claims of universal target support from the build system.Tom Finegan
These targets no longer build (PPC support was removed from libvpx). Remove the dead code and misleading help output. BUG=https://code.google.com/p/webm/issues/detail?id=997 Change-Id: Ib35614806adeae970f3821da0d8dbcc54ab8d868
2015-05-07Remove only remaining uses of 'fast_unaligned'Johann
Use memcpy instead of casting. Change-Id: Ieca725cc628883985bde23c7d742af8781c5dbb5
2015-04-15mips msa configuration fixParag Salasakar
for big endian disable msa removed -flax-vector-conversion flag disable runtime_cpu_detect feature if enabled Change-Id: Icd5130b733f2ddcdb94ffb6e4d170e6ca0f9832b
2015-04-02Remove PPC build supportJohann
There are no functional optimizations for AltiVec/PPC Change-Id: I6877a7a9739017fe36fc769be22679c65ea99976
2015-03-24mips msa configuration patch for MIPS SIMD Arch (MSA) P5600 and I6400Parag Salasakar
For P5600: CROSS=$MTI/bin/mips-mti-linux-gnu- CFLAGS='-EL' CXXFLAGS='-EL' LDFLAGS='-EL'\ ../configure --target=mips32-linux-gcc --cpu=p5600 --enable-msa For I6400: CROSS=$IMG/bin/mips-img-linux-gnu- CFLAGS='-EL' CXXFLAGS='-EL' LDFLAGS='-EL'\ ../configure --target=mips64-linux-gcc --cpu=i6400 --enable-msa Change-Id: Id25f721ea1f1991d5116e04dba713aebd7378f05
2015-02-09configure: add --(disable|enable)-dependency-trackingJames Zern
defaults to enabled. when disabled skips dependency file (.d) generation allowing for faster one-time builds. Change-Id: I2d7d7f905f1663315b8eb2b2e81fffb6fcb15829
2015-02-04configure: enable x86inc for all intel platformsJames Zern
there are no known issues since: 10d5e09 Fix issues in 32bit PIC enabled build related issues: #808, #924 Change-Id: I80454f95fe6b4ce630fdd434d740ce8b0d42951b
2015-02-03Fail when only an old nasm is foundJohann
Apple ships version 0.98 of nasm through at least XCode 6. It is incompatible with the assembly in libvpx. https://code.google.com/p/webm/issues/detail?id=772 Change-Id: I33245a76f50a8224fe6fafa3cce9991f953fdcc8
2015-01-30Merge "configure: echo --(disable|enable)-* cmdline options"James Zern
2015-01-29Enable use_x86inc for 32bit pic enabled Darwin targetYunqing Wang
The previous patch "Fix issues in 32bit PIC enabled build" fixed the x86inc.asm for macho32. Now we can enable use_x86inc while building libvpx for 32bit pic enabled Darwin target, which makes the encoder a lot faster(>2X) in this case by turning on the existing optimizations. Change-Id: I5f5c7add428d73f50c935c48d0a70aed2b1eb7af
2015-01-28configure: echo --(disable|enable)-* cmdline optionsJames Zern
gives a better summary of what is enabled / disabled outside of the automatic toolchain options. fixes issue #936 Change-Id: I1bf27593a5512713aab1473cb606c58cf3084d62
2015-01-26Fix discovery of Darwin SDKsLawrence Velázquez
The current method doesn't work with Xcode 4 and up, since they no longer have a $DEVELOPER_DIR/SDKs directory. Using xcrun and xcodebuild works all the way back to Xcode 3 on OS X 10.6 Snow Leopard, if not earlier. Change-Id: I7126f2fb4a8f1d6e46f921e70bbd090f00ce3d36
2015-01-22Merge "workaround stack bashing by asm on 32-bit OpenBSD"James Zern
2015-01-22Add libvpx build targets for OS X 10.10 Yosemite.Lawrence Velázquez
Change-Id: I5baa4405e0b52fd3b6f312bd2dc94b19e6ff3da7
2015-01-14workaround stack bashing by asm on 32-bit OpenBSDJames Zern
like Darwin, disable x86inc with 32-bit PIC/shared library builds; avoids stack smashing done by vp9_subpixel_* workaround for issue #808 Change-Id: I3f2f16bd91822c8e8dad0242b5dcfb0e621aea97
2014-12-12don't set INLINE to 'always_inline'James Zern
INLINE is used quite widely in vp9, this change improves performance 1-2% on most modern platforms. Change-Id: I8a9974aab89fa588ea4923cc7eaf6199e344a528
2014-12-09Disable neon assembly when neon is disabledJohann
Change-Id: Idde266cd7287bb6bee016c90efeafa67550f94c6
2014-12-03Extend x32 check by also checking for __x86_64__.Dim Temp
Currently, the configure script checks for x32 by testing just the __ILP32__ define. However, on "plain" i386, __ILP32__ can also be defined, for example by clang 3.5.0 and higher. (That gcc does not define it there, is another issue, but not for this tracker.) Therefore, extend the check by also checking for __x86_64__, which will also be defined for x32. BUG=887 Change-Id: I90ac1d6843caff0416e1dd360c0be3dbaa85c2ae
2014-12-01Remove default cortex-a8 tuning.Johann
Probably not even the dominant platform the library is being built for. Add --cpu= option description to help. The option already exists. Don't allow passing just --cpu as a no-op. BUG=826 Change-Id: Iaa3f4f693ec78b18927b159b480daafeba0549c0
2014-11-21Indent build/make/configure.shJohann
Whitespace changes only. Change-Id: I92eef49db1798bc69ec003fca69995fea560d6fa
2014-11-20Remove armv5te targetJohann
All the assembly code has been removed, the tests no longer check for the target, and android and chrome do not use the targets. Change-Id: I193993f7b2b0bd6478453402f573ce3606e04e8d
2014-11-06Remove asm offset dependenciesJohann
The obj_int_extract code is no longer worth maintaining. It creates significant issues when adapting for different build systems and no longer offers as significant of a performance benefit due to improvements in intrinsics. Source files will remain until the various third-party builds are updated. The neon fast quantizer has been moved to intrinsics. The armv6 version has been removed because so few remaining targets require it. Compilers and processors have improved significantly since the pack_tokens code was written. The assembly is no longer faster than the C code. pack_tokens were the only optimizations for the armv5te targets so the targets will be removed after the test infrastructure has been updated. BUG=710 Change-Id: Ic785b167cd9f95eeff31c7c76b7b736c07fb30eb
2014-10-01Fix iphonesimulator and armv6-darwin build targets.Tom Finegan
- iphonesimulator: IOS_VERSION_MIN was declared in the wrong place. - armv6: linking via ld instead of CXX is basically required. Change-Id: Iad187691f633dcf2bc3e3590e88084bb926edb76
2014-09-30iOS build configuration updates.Tom Finegan
Commit message longer than commit edition. Simulator and devices: Add a common minimum iOS version that can be shared by iOS and iOS simulator targets. Fix --enable-debug (for device targets; sim was fine): Allow for successful configuration and build with --enable-debug when CXX is available by: - Using CXX as LD (when CXX is available). - Passing the correct form of the iOS minimum version parameter based on whether LD is CXX or really is ld. Note: ld -g still won't work on macosx with this patch, so if CXX is not available, configuration will still fail reporting that the toolchain cannot link executables when attempting to pass --enable-debug (because ld returns an error code since the one included with xcode doesn't support the -g argument). Change-Id: Ia488aed167cc2ca82ee9e980589fb76dddce634f
2014-09-25iphonesimulator: make iOS 6 the minimum requirementJames Zern
iOS 5 support isn't available in the Xcode 6 install; iOS 6 covers phones starting at the 3GS, so should be a reasonable base line Change-Id: I15572ec0dd73f1ffc88c58120c706384a01f2478
2014-07-29configure.sh: avoid test -a/-o for compatibilityJames Zern
Change-Id: I0bea5cbccd6938fb967299c1d903b60dd2096ccc
2014-07-29Remove 'local' from configure and configure.shKO Myung-Hun
'local' is not posix. Change-Id: I46d7acfa574cbef686cee1b35022f5781485c3fa
2014-07-21Add -DNDEBUG when config option debug is disabledYunqing Wang
For gcc, when libvpx config option debug is disabled, added the flag -DNDEBUG to disable the assertions in libvpx for some speedup. Change-Id: Ifcb7b9e8ef5cbe5d07a24407b53b9a2923f596ee
2014-07-17allow config options to limit max size of decodeJim Bankoski
This is a practical concern to allow us to fail in a decoder instance if the size of a file is bigger than we can reasonably handle. Change-Id: I0446b5502b1f8a48408107648ff2a8d187dca393
2014-06-27configure: defer x32 check until post toolchain setupJames Zern
x32 would never be detected unless an explicit CC= was used fixes: ...: -E: command not found Change-Id: I465fd7b0979f782053bdda240ad68edbca5658e5
2014-06-27Merge "configure.sh: Tweak default of use_x86inc for 64-bit, non-pic, and ↵Tom Finegan
Darwin."
2014-06-26Add arm64-darwin-gcc target.Tom Finegan
Change-Id: I251cca45db54d2947868e2b9c35cb54f86b10706
2014-06-25configure.sh: Tweak default of use_x86inc for 64-bit, non-pic, and Darwin.Tom Finegan
Mainly a readability fix. Change-Id: Idfd4de9f25d9b9f9931d8e885d9d031473d5df6d
2014-06-10Add target armv7s-darwin-gcc.Tom Finegan
Really just armv7. This is a convenience target intended to make iOS development with libvpx easier. Xcode projects with default settings will fail to build when a framework lacks armv7s support when targetting iOS7. Change-Id: I7eb80d52eec25501febc0d2c3c0b4ed964b8ed5b
2014-06-06Add x86_64-iphonesimulator-gcc target.Tom Finegan
macho64 x86_64 with: - -miphoneos-version-min=5.0 - -isysroot from xcrun --sdk iphonesimulator Change-Id: I1ba183e16d50c93d48f526e2dc43a7a6040741c5
2014-06-04Add x86-iphonesimulator-gcc target.Tom Finegan
macho32 i386 with: - -miphoneos-version-min=5.0 - -isysroot from xcrun --sdk iphonesimulator Change-Id: I6bb43eebab39a71cdb76264644eba14c22d736c2
2014-05-19configure.sh: only execute toupper when necessaryJames Zern
speeds up windows configure by ~40% Change-Id: Ie3138b8fe39ff4c901c35c5d689c1ed12da34866
2014-05-14Build armv7a-only codeJohann
Allow disabling the more generic NEON code. Use filtered option to disable rtcd code. Change-Id: Icb4500c1a2bac16eed3c5e3ec0c35e92e6bbbb9f
2014-05-12Only build neon assembly for armv7 targetsJohann
Allow selectively building just the intrinsics for armv8 Change-Id: I2f29b2e4508b8b8e5649c2906b3159ad1d4ec477
2014-05-05Fix building for arm with Visual Studio 2013Martin Storsjo
The microsoft build tools explicitly disallow building for arm in the "desktop" target configuration; one has to target "Windows Store" apps (aka WinRT/Metro) or Windows Phone. In Visual Studio 2012, one could just pick the v110_wp80 toolset which made the vcxproj files buildable. In Visual Studio 2013, picking the v120_wp81 toolset isn't enough - one has to configure the vcxproj files as an "AppContainerApplication". This has the implication that you can't just build a plain .exe (such as the examples) - an .exe project would need to have an AppxManifest file. Therefore we can only build the library itself. If loaded into Visual Studio for Windows (the Windows Store/Phone version of Visual Studio, not the Desktop one), the obj_int_extract project is omitted since it's treated as incompatible. Building from the command line with msbuild works fine though. The armv7-win32-vs12 target was added as part of a638bdf4 even though actual use of it hadn't been tested. Change-Id: Iee8088252cf790317aeb6b417d29058225f1f629
2014-04-23configure: quote some uses of source_pathJames Zern
doesn't completely fix configure/build in directories with spaces, but it's good practice Change-Id: Ic7a5b3a0aa9e297b34061af07e099de8b1f003cd
2014-03-25configure: clean up temp gcov (.gcno) filesJames Zern
Change-Id: I792e4ef7d81aa81beb28091a37a61bafb91b30f4
2014-03-18configure: test -m(mmx|sse|sse2|sse3) flagsJames Zern
<=sse2 isn't strictly necessary on x86_64, but this is more consistent with the rest of the flags and should be harmless Change-Id: Ice0f1d1c4c7510ee90af2a62dbd3d6508db63487
2014-03-18configure: test for -mssse3James Zern
fixes compile with older versions of gcc Change-Id: If529f3102dbc926be8d5fb91d4161fa686c11840
2014-03-18configure: factorize gcc machine option checksJames Zern
check_gcc_machine_option() replaces individual -m* checks Change-Id: I0f4a82020c0541b99209321907e80e071d1245e1
2014-03-06Merge "Avoid unknown warning warnings and fix -Werror on macosx."James Zern
2014-03-06configure.sh: quote local variablesJames Zern
fixes issue #711 specifying a multiword CC, e.g., CC='gcc -m32', would cause the failure under dash reported in https://bugs.gentoo.org/show_bug.cgi?id=498136 patch by floppymaster at gmail dot com Change-Id: I2ba246f765646161538622739961ec0f6c2d8c2d
2014-03-06Avoid unknown warning warnings and fix -Werror on macosx.Tom Finegan
clang on macosx does not support -Wunused-but-set-variable; adding the flag causes additional warnings about the flag. As a more generalized fix, use -Werror when checking compiler flag support in order to avoid using unsupported warning flags. Change-Id: I2529862e211f880d56491eac3b9fa90fff1aa5c3
2014-03-05configure: Use "cat -n" instead of "pr -n -t"Tom Finegan
Configuration logging is passed through pr, but nothing configure does actually requires pr. Use cat instead. Change-Id: I451217882a329c2bfb8942ac86ac624a7feef670
2014-02-27configure: remove x86inc debug messageJames Zern
+ break long line Change-Id: I12c1524451a7ce697128801a3328de318cfeabdc