summaryrefslogtreecommitdiff
path: root/build/make/configure.sh
AgeCommit message (Collapse)Author
2016-05-12Add --enable-shared option to iosbuild.sh to build dynamic frameworkBrion Vibber
Also allows use of --enable-shared when configuring for Mac OS X, producing a bare .dylib. Enabling the shared framework bumps the iOS deployment target to 8.0, the minimum required to support dynamic framework deployment in apps. When not using --enable-shared, a static library for iOS 6.0+ will still be built. Minimum version settings have been moved into ios-version.sh so they can be updated in a single place. As with the static build, unless header search paths are manually tweaked, users must add a VPX prefix on includes, such as: #include <VPX/vpx/vpx_decoder.h> A module map for headers is not yet included as inttypes.h is not modular; this means that VPX cannot be used directly in Swift code, but can still be pulled in through an Objective-C wrapper. BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1092 Change-Id: I28fb06ce65e48ed167a88c14a7bfb2861989317e
2016-05-02configure.sh: Remove armv6-darwin target.Tom Finegan
- iOS SDKs no longer ship with armv6 support. - Our minimum iOS version means all target devices have neon. - Remove armv6 darwin LD workaround. - This removes a TODO. Change-Id: I2fcb5b82c96213364275475be021c7dd8459d5c0
2016-04-29configure.sh: prefer 'which' over 'hash'James Zern
hash may trigger a bashism warning; which is already depended on by this script Change-Id: Ibe0e7d1132d72f03aaf5b7d4c6180b59e92aceff
2016-04-12configure: Detect aarch64 toolchains automaticallyMartin Storsjo
Change-Id: Icafda81dbc3323fa0afdba5f1c8758e812cc592a
2016-04-08configure: Disable webm_io when target is VS 7/8/9.Tom Finegan
libwebm now requires stdint.h, and the noted Visual Studio versions omit it. Change-Id: I7e5de131c357cb7a99c33452b2b623882817df0f
2016-01-13configure: extend armv7 hf target autodetectJames Zern
Change-Id: I51d42a50288fc5224eb3ed7f895c916ae53239c8
2015-12-22configure: remove default CROSS for arm targetsJames Zern
arm-none-linux-gnueabi- is an anachronism and makes building on native arm platforms more difficult. further, many distros include alternative cross compilers, e.g., arm-linux-gnueabihf-, so the choice is best left up to the user. Change-Id: Id8aaf820ed112b85db2b8518d0e9d8abee1ad85c
2015-12-21configure: avoid default when CROSS is set to nullJames Zern
avoids picking up defaults if CROSS is forcibly set empty as in: $ CROSS= ./configure ... BUG=1121 Change-Id: I6af91959288dede01efe3e5945698ab249eb6ec3
2015-11-17configure: simplify x86 asm dependenciesJames Zern
--disable-XXX has the effect of disabling all extensions above it, e.g., --disable-ssse3 disables ssse3-avx2. Change-Id: If02b44ca71ee12e4acb12010db8593a7989f2a9d
2015-11-02Add target for Mac OS X 10.11 'El Capitan'Alex Converse
Change-Id: I174f5b41be384894e41b8e2926cbf8fd0f8e21b2
2015-10-28Merge "Skip AS detection when using --enable-external-build"Johann Koenig
2015-10-27Only set sysroot when alt_libc finds a directoryJohann
Change-Id: Idc0a9adb4fb371272d6c8c98737f66c6cf209e37
2015-10-26Skip AS detection when using --enable-external-buildJohann
The option exists specifically to allow for configurations where the build environment is different from the configure environment. Change-Id: I95196fa3c49700251d10ff5d256dc7380e39d0c4
2015-09-25Merge "build/make/configure.sh: Embed bitcode in arm darwin targets."Tom Finegan
2015-09-25Merge "configure: reference the README for missing yasm"James Zern
2015-09-24build/make/configure.sh: Embed bitcode in arm darwin targets.Tom Finegan
When the iOS SDK major version is 9 or higher: - Pass -fembed-bitcode to compiler, assembler, and linker. - Add a warning for simulator targets since yasm doesn't know what -fembed-bitcode means, and exits with an error. BUG=https://code.google.com/p/webm/issues/detail?id=1075 Change-Id: I38c997a0225e53c5dd1b4ddf7935d21362953f76
2015-09-24Merge "build/make/configure.sh: Silence arm target Xcode7 link warnings."Tom Finegan
2015-09-24Merge "build/make/configure.sh: Fix armv7 builds in Xcode7."Tom Finegan
2015-09-23build/make/configure.sh: Silence arm target Xcode7 link warnings.Tom Finegan
Always add IOS_VERSION_MIN to darwin arm cflags. The warning occured because the default (9.0) does not match the value set by configure (6.0). BUG=https://code.google.com/p/webm/issues/detail?id=1075 Change-Id: Ia9085ceeca10e057f9eb781c14f07581bb6280a5
2015-09-23build/make/configure.sh: Fix armv7 builds in Xcode7.Tom Finegan
- Use the iphoneos SDK path (instead of macosx). - Detect iOS SDK major version and disable media (armv6) when using iOS SDK version 9 or higher. BUG=https://code.google.com/p/webm/issues/detail?id=1075 Change-Id: I12f77dbeee4c0084e8322f6841813da8b5e91c16
2015-09-23build/make/configure.sh: docs for soft_{dis|en}able.Tom Finegan
Add function comments explaining what the functions do and do not do. Change-Id: I23dea09f93bc5cdbea6a0077f90683a1df2f74dc
2015-09-23configure: reference the README for missing yasmJames Zern
Change-Id: I2ad799901385011764affadeaddcc271df21509f
2015-09-12configure: add --extra-cxxflags optionJames Zern
same usage as --extra-cflags Change-Id: Iff2ed7b8ebb6e51610ee0851aeec08413367ab23
2015-09-10build: modify default ARFLAGS / .a targetJames Zern
remove 'u' and specify all objects to allow objects with the same basename to be added and a incremental rebuild to succeed fixes issue #1067 Change-Id: Id0ebc89be826a026f1bbf21b4e32a2b1af45154d
2015-09-09Revert "Fix building with iOS 9 beta SDK"Tom Finegan
This reverts commit 78637b61361ab11425afd4a67d43c4df948647a6. Breaks armv7-darwin targets with current SDK (iOS 8/Xcode 6.4). BUG=https://code.google.com/p/webm/issues/detail?id=1062 Change-Id: I58b27950f330557154d681a894114eadfbd3e593
2015-09-02configure: add -Zhigh-mem to LDFLAGS on OS/2KO Myung-Hun
-Zhigh-mem enables to allocate very large memory on OS/2. Change-Id: I1c8a792cc792c65ce9539a6d3d6b77fc4767848a
2015-09-02configure: disable PIC on OS/2KO Myung-Hun
Change-Id: I49f9b10faa059decf18e123a1f88738071b9c2b8
2015-08-26configure: append --extra-cflags to final setJames Zern
previously any flags added while setting up the toolchain would override the user selections; environment variables could be treated similarly Change-Id: Ibfcc644137d8e579af554d19a38d4020019a7a34
2015-06-22Fix building with iOS 9 beta SDKBrion Vibber
configure.sh was setting some Mac OS X options for iOS targets, which confuses the iOS 9 beta SDK in Xcode 7 when linking libraries. Additionally, old armv6 media extensions were being enabled on iOS when they're not needed (we always have Neon since iOS 6). These broke on iOS 9 SDK which no longer assembles those instructions. Change-Id: I4e4d2722392ead3382ce96289c03ef1e489799d6
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