summaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)Author
2016-06-07Merge changes I999ef597,Ic6dc9f53Johann Koenig
* changes: configure: Add -mstackrealign flags to CFLAGS on OS/2 vpx: Add OS/2-specific threading codes
2016-05-24Move git version extras out of iOS shared framework bundle versionBrion Vibber
Apple's version format specification is strictly checked on app store submission, even for embedded frameworks: http://apple.co/1WgelY1 The build version number should be a string comprised of three non-negative, period-separated integers with the first integer being greater than zero. The string should only contain numeric (0-9) and period (.) characters. So that's room for "1.5.0" but not for "1.5.0-906-g656f9c4". The full version returned from 'version.sh --bare' is now embedded under a 'VPXFullVersion' custom key in the Info.plist, so it can still be extracted from the resulting framework. Change-Id: If34a58d02e407379d1f1859fda533ef7f983170b
2016-05-22configure: Add -mstackrealign flags to CFLAGS on OS/2KO Myung-Hun
Many codes require -mstackrealign flags. Although -mstackrealign has been already added to CFLAGS of some modules, SIGSEGV occurs in other modules than those modules. The best way may be to find causes and to fix them. However, we cannot know those causes until SIGSEGV occur really. In addition, if SIGSEGV occurs in other programs, it will be fatal. So adding -mstackrealign flags to CFLAGS unconditionally is reasonable. Change-Id: I999ef597a6afe97f5e7cc7bffaa866537c3eedd2
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-04Fix for version.sh when libvpx is checked out as git submoduleBrion Vibber
When using git submodules, .git may be a file instead of a directory. The -d test was failing in that case; switched to -e. BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1215 Change-Id: Iedf0e92bfeb003b28a415945dc729e6ce58c4fe4
2016-05-04Merge "iosbuild.sh: Verify fat library targets."Tom Finegan
2016-05-02iosbuild.sh: Verify fat library targets.Tom Finegan
- Make sure VPX.framework/VPX actually contains requested targets before reporting success. - Removes a TODO. Change-Id: I2344d6e2bb502bf533ce0e4c6f159118e4fe3bdf
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-27msvs_common.sh: make fix_file_list genericJames Zern
take an array name as the first parameter and operate on the reference; removes a TODO Change-Id: I9d63a31d7a7625123f0d64f212b4e702813cc01b
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-12-09iosbuild.sh: Support macosx targets in Xcode 7.Tom Finegan
Xcode 7 refuses to link to x86 and x86_64 code that's built for iphone sim, so add an extra command line flag that forces iosbuild to use darwin15 targets. Change-Id: I2228d458f5cccf4d26866040380a974f88d9d360
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-25build/make/iosbuild.sh: Remove jobs argument.Tom Finegan
This can be handled via MAKEFLAGS. Change-Id: I3a58a8a41f6570cb3b80c7c97e51735b82bf4ec9
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-18Merge "configure: add --extra-cxxflags option"James Zern
2015-09-17iosbuild: Enable PIC for x86 targets.Tom Finegan
Change-Id: I03b1e8f983f8cd87519aefda732210359b319c81
2015-09-17iosbuild: Add --test-link argument.Tom Finegan
Shortcut arg for --extra-configure-args --enable-examples. Enables the examples, and thus ensures that all versions of libvpx that iosbuild.sh produces can actually be linked. Change-Id: I2ddda094361bf0ac77f8d2ae542e4dc7b2cab158
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-09-02Makefile: add $(STACKREALIGN) to CFLAGS for vp9_reconintra.cKO Myung-Hun
Without this, test_libvpx crashes at VP9MultiThreadedFrameParallel.PauseSeekResume on OS/2. Change-Id: I15472738f4166d97cb49868652982d351a291c11
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-08-11Android.mk: add missing vp10_rtcd.h depJames Zern
broken since: be6c031 Merge "Fork VP9 and VP10 codebase" 3ee6db6 Fork VP9 and VP10 codebase Change-Id: I1dcdb378e11fe9aaf7c433ab187ebf952ef9cf09
2015-08-05Support build with Visual Studio 14.Ghislain MARY
Change-Id: Id0d7c19857e29b66c652c8cc1ab56b64e4fc0fa3
2015-08-03gen_msvs_proj.sh: avoid asm object name collisionsJames Zern
fixes link under vs9; this is the same change as: dbf6e3f gen_msvs_vcxproj.sh: Avoid object name collisions. Change-Id: I2a188c9024d0605e60e5e03ddcef1a25e7e53585
2015-08-03Add common_dspr2.c file to vpx_dsp/mipsJingning Han
Move the declaration of commonly referenced variable to vpx_dsp/mips/common_dspr2.c. Change-Id: Ia51287b02e2ac5cfae0fba98c721f0810618f28e
2015-07-31Merge changes Iecdbbc34,I8b4db93fJames Zern
* changes: Android.mk: fix *_rtcd.h deps for armeabi-v7a Android.mk: add a dep on vpx_config.asm for x86_64
2015-07-31Fix compiler warning in mips/dspr2Jingning Han
This commit fixes the mix declaration and definition warning when mips/dspr2 is turned on. Change-Id: I633d6fe42368b9ac35b106786ebac6969ad53552
2015-07-30Android.mk: fix *_rtcd.h deps for armeabi-v7aJames Zern
strip '.neon' so *_rtcd.h depends on the correct file Change-Id: Iecdbbc34c9ce5c6d0a4b466332d52f4e6a0cb128
2015-07-29Android.mk: add a dep on vpx_config.asm for x86_64James Zern
Change-Id: I8b4db93f754607aab64351745bd102ab238d9501
2015-07-28Merge "build/make/Android.mk: support TARGET_ARCH_ABI=x86_64"James Zern