summaryrefslogtreecommitdiff
path: root/build/make/configure.sh
AgeCommit message (Collapse)Author
2013-01-10configure: support hardfloat armv7 CHOSTSLuca Barbato
Many linux distribution for arm switched to armhf/hardfloat, support them. Change-Id: I8ab39d34782b4f24b7028ac76342118166fd5905
2012-12-27Merge branch 'vp9-preview' of review:webm/libvpxJohn Koleszar
Merge the vp9-preview branch into master. Change-Id: If700b9054676f24bed9deb59050af546c1ca5296
2012-12-20configure: test for -msse4James Zern
not present in < GCC 4.2 Change-Id: I7b1a3078fd782644b1c432ce682d2160ffc2263a
2012-12-10configure: add --enable-external-build supportJohn Koleszar
First attempt at avoiding all the compile-time environment detection for cases where you can generate the environments statically, as when the real build is being performed by another build system. Change-Id: Ie3cf95d71d6c5169900f31e263b84bc123cdf73f
2012-11-28Disable fast unaligned on armv5teMartin Storsjo
This is enabled by default in the main configure.sh, but apparently is supposed to be disabled if the hardware doesn't support it. Unaligned reads is only supported on armv6 and newer. Change-Id: Ie1412e36a14036bbb4fe7b89aa36a178f35b2228
2012-11-20make: fix dependency generation for flat build treeJohn Koleszar
Update the fmt_deps function to use a new sed expression to convert the object file name generated by the compiler into the path-transformed name of the .o and .d files. Prior to this patch, changing a header file would not trigger an incremental build. Change-Id: I07f498a1d134577b89a72e3f1143c737b31a0636
2012-11-05build: merge with masterJohn Koleszar
Change-Id: I8ea836ce92c1c96f1e2bdf45e704d36ec9dbc401
2012-10-24Fix "_FORTIFY_SOURCE" redefined warningYunqing Wang
On Ubuntu 12.04, we got the following warning message: <command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default] <built-in>:0:0: note: this is the location of the previous definition This was already fixed in VP8 configure file. Did the same change in experimental branch to stop this warning. Change-Id: Id162e5fd8841585ae806df6560b2f7536ea307c0
2012-09-25check for x32 targetsMike Frysinger
Add configure detection of the new x32 ABI as well as support in asm. Change-Id: Ic66a069599adeb81062090e3f11b71ee1fb97cb8
2012-08-15Parse out arm isa targets from dumpmachineMike Frysinger
The current parsing logic of the dumpmachine tuple lacks any arm cases which means tgt_isa never gets set, so for all arm targets, we get detected as generic-gnu. Add some basic arm checks here so the automatic detection logic works. Change-Id: Ie5e98142876025c6708604236bc519c0bdb09319
2012-08-09configure: check for pthreads building on windows with gccAndoni Morales Alastruey
Change-Id: I737361fa9911c11017af971a80c2ffad20b01d03
2012-08-08Newline got lost in submission of "Partial import of "New RTCD ↵Christian Duvivier
implementation" from master branch." Change-Id: I3841eca46e29a108a79fe47af0cfa97f0bc80a2a
2012-08-08Partial import of "New RTCD implementation" from master branch.Christian Duvivier
Latest version of all scripts/makefile but rtcd_defs.sh is empty, all existing functions are still selected using the old/current way. Change-Id: Ib92946a48a31d6c8d1d7359eca524bc1d3e66174
2012-08-06Add x86_64-darwin11-gcc target.Christian Duvivier
This allows building on MountainLion as the 10.6 SDK has been removed from the latest Xcode version (4.4 4F250). Also fix all warnings for that build. Change-Id: Ib70bca4a25295f13595f0d10ea9f0229631de5a4
2012-07-27Avoid warnings about redefining _FORTIFY_SOURCEAttila Nagy
Undefine the macro befor redefining it. Change-Id: I31187307273c138f8d5380c74f9e0619af15cdd9
2012-07-20bash uses curly bracesJohann
Change-Id: I2799c766008dc9016d2e55e6e40ae2c4ae4b37d2
2012-07-20Disabling MIPS optimizations for big endian platformsDragan Mrdjan
Change-Id: Idae399ecbd10e287ef30b2e0b95822dc9175ce0a
2012-07-10VP8 optimizations for MIPS dspr2Dragan Mrdjan
Signed-off-by: Raghu Gandham <raghu@mips.com> Change-Id: I3a8bca425cd3dab746a6328c8fc8843c8e87aea6
2012-06-20Enables building examples with Android NDKAttila Nagy
Soft enable runtime cpu detect for armv7-android target, so that it can be disabled and remove dependency on 'cpufeatures' lib. Change the arm_cpu_caps implementation selection such that 'no rtcd' takes precedence over system type. Switch to use -mtune instead of -mcpu. NDK was complaining about -mcpu=cortex-a8 conflicting with -march=armv7-a, not sure why. Add a linker flag to fix some cortex-a8 bug, as suggested by NDK Dev Guide. Examples: Configure for armv7+neon: ./configure --target=armv7-android-gcc \ --sdk-path=/path/to/android/ndk \ --disable-runtime-cpu-detect \ --enable-realtime-only \ --disable-unit-tests ...armv7 w/o neon: ./configure --target=armv7-android-gcc \ --sdk-path=/path/to/android/ndk \ --disable-runtime-cpu-detect \ --enable-realtime-only \ --disable-neon \ --cpu=cortex-a9 \ --disable-unit-tests Change-Id: I37e2c0592745208979deec38f7658378d4bd6cfa
2012-06-05Skip AS detection for VSJohann Koenig
Visual Studio doesn't use the assembler in $PATH Change-Id: I169f8492127cbc1d256a2fb2e749cd970040ccc8
2012-05-23Merge changes I38e93fe2,I6d6a0fb6,I51155833,If4c3e5d4,Ia2f40ef2John Koleszar
* changes: Add initial keyframe tests Move all tests to test/ directory Enable unit tests by default Build unit tests monolithically configure: initial support for CXX, CXXFLAGS variables
2012-05-22configure: initial support for CXX, CXXFLAGS variablesJohn Koleszar
Use CXX rather than assuming g++ to invoke the compiler. Also introduce separate CXXFLAGS, as certain CFLAGS we enable by default cause warnings with g++. Change-Id: Ia2f40ef27c93e45c971d070cc58bdcde9da2ac7c
2012-05-21Inline Intrinsic optimized DenoiserChristian Duvivier
Faster version of denoiser, cut cost by 1.7x for C path, by 3.3x for SSE2 path. Change-Id: I154786308550763bc0e3497e5fa5bfd1ce651beb
2012-05-14Allow target autodetection to work when cross-compiling.Alexis Ballier
Allow CHOST to override the gcc -dumpmachine output. This allows to use the target autodetection code when cross compiling by setting the CHOST variable. On Gentoo, we would like to support easy cross-compilation, and for libvpx this would basically mean copying the code in build/make/configure.sh to setup the right --target option. It seems a lot easier to let it guess by itself. Another option I considered was using CROSS-gcc instead but this would not work for our multilib setups: They use gcc -m32 to build 32bits binaries and gcc -m32 -dumpmachine will output the 64bits version, which would then make libvpx wrongly believe it is building for a 64bits architecture. Change-Id: I05a19be402228f749e23be7473ca53ae74fd2186
2012-05-01Merge "Update paths for iOS 5.1" into eiderJohann
2012-04-30Update paths for iOS 5.1Johann
These values can be overridden with some poorly documented and overloaded options: --libc and --sdk-path ../libvpx/configure --target=armv7-darwin-gcc --sdk-path=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer --libc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/ So for someone who still wants to build with the iOS 5 SDK, the last part of the path should be iPhoneOS5.0.sdk Change-Id: Ibe93d96ae828c619700dc3222983aa4c30456b88
2012-04-27Add target for OS X 10.8 Mountain LionJohann
Also clarify universal build rules Change-Id: I3b7352f81d5d5b3472420e89872038377c5c2697
2012-04-02Allow disabling disabled codecsJohann
When using 'make dist' after --disable-vp8[encoder|decoder] it would fail to recognize the option. This would only occur when also specifying --enable-install-docs and --enable-install-srcs but not --enable-codec-srcs Including vpx/ fixes builds with --enable-codec-srcs vpx_timer.h is also required for vpxenc.c Change-Id: Ie3e28b2f7ec7ee6d5961d3843f9eab869f79c35b
2012-03-16Update XCode SDK search pathsJohn Koleszar
Newer XCodes have moved the SDK path from /Developer/SDKs Use a suggestion from jorgenisaksson@gmail.com to locate it osx_sdk_dir is not required to be set. Apple now offers a set command line tools which do not require this. isysroot is also not required in newer versions of XCode so only set it when we are confident in the location. There remain issues with the iOS configure steps which will be addressed later Change-Id: I4f5d7e35175d0dea84faaa6bfb52a0153c72f84b
2012-02-16Include path fix for building against Android NDK.Fritz Koenig
cpu-features.h is not in the common paths, add to the cflags for Android. Change-Id: Icbafc7600d72f6b59ffb030f6ab80ee6860332bb
2012-02-08Add OS/2 supportsKO Myung-Hun
Change-Id: I792d5236451905eb20a8ebe444ef5b2274e4f7a4
2012-01-30New RTCD implementationJohn Koleszar
This is a proof of concept RTCD implementation to replace the current system of nested includes, prototypes, INVOKE macros, etc. Currently only the decoder specific functions are implemented in the new system. Additional functions will be added in subsequent commits. Overview: RTCD "functions" are implemented as either a global function pointer or a macro (when only one eligible specialization available). Functions which have RTCD specializations are listed using a simple DSL identifying the function's base name, its prototype, and the architecture extensions that specializations are available for. Advantages over the old system: - No INVOKE macros. A call to an RTCD function looks like an ordinary function call. - No need to pass vtables around. - If there is only one eligible function to call, the function is called directly, rather than indirecting through a function pointer. - Supports the notion of "required" extensions, so in combination with the above, on x86_64 if the best function available is sse2 or lower it will be called directly, since all x86_64 platforms implement sse2. - Elides all references to functions which will never be called, which could reduce binary size. For example if sse2 is required and there are both mmx and sse2 implementations of a certain function, the code will have no link time references to the mmx code. - Significantly easier to add a new function, just one file to edit. Disadvantages: - Requires global writable data (though this is not a new requirement) - 1 new generated source file. Change-Id: Iae6edab65315f79c168485c96872641c5aa09d55
2012-01-20Disconnect ARM tgt_isa from dsp extensionsFritz Koenig
A processor with ARMv7 instructions does not necessarily have NEON dsp extensions. This CL has the added side effect of allowing the ability to enable/disable the dsp extensions cleanly. Change-Id: Ie1e879b8fe131885bc3d4138a0acc9ffe73a36df
2012-01-18Add makefile for building libvpx for Android.Fritz Koenig
Android.mk file for using the Android NDK build system to compile. Adds option for SDK path to use the compiler that comes with android for testing compiler compliance. Change-Id: I5fd17cb76e3ed631758d3f392e62ae1a050d0d10
2012-01-10Remove iwmmx target.Fritz Koenig
No optimized code present for target. Change-Id: If99bb37491b15c1093e8851430c060cb2466898c
2012-01-06Remove symbian target and associated files.Fritz Koenig
These targets are no longer maintained. Change-Id: I923103006c439849fc015c1ac45ee7a5443ebc6d
2011-12-14Use xcode 4.2Johann
Allow targeting darwin11 / 10.7 Update arm paths for iPhoneOS 5.0 Change-Id: I057156349311ec66a163c4c1cea60dc5aeaaa492
2011-11-07win64: use -f x64 in asflags instead of -f win64Rafaël Carré
Change-Id: Id1be1a91c7f0fd286c403489ff447837029ba17f
2011-10-20Add license text to configure generated files.Tom Finegan
Applies to generated files with c, h, and mk extensions. Change-Id: Id82c46673c7aad43e95a9de5058ddcfc6fd72f14
2011-10-14allow building for older platformsJohann
Change-Id: Ibbd05e981debee12c16ebcd274150cd75a94a69d
2011-08-01Disable FORTIFY_SOURCE on glibc targetsJohn Koleszar
Improve binary distributions by defeating longjmp interception. See http://code.google.com/p/webm/issues/detail?id=166 for more information. Change-Id: I5ac731ec3f3570088597201d0f411473e2dffa4f
2011-07-25Use CONFIG_FAST_UNALIGNED consistently in codecYunqing Wang
CONFIG_FAST_UNALIGNED is enabled by default. Disable it if it is not supported by hardware. Change-Id: I7d6905ed79fed918bca074bd62820b0c929d81ab
2011-06-21configuration, support disabling any subset of ARM archAttila Nagy
Useful for leaving out any version specific asm files. Change-Id: I233514410eb9d7ca88d2d2c839673122c507fa99
2011-06-15Guard vpx_config.h against multiple inclusionsAttila Nagy
Change-Id: Iabe2be73af2b92c53687755b31b77448fba385d2
2011-06-14Update -linux-rvct targetsTero Rintaluoma
- Updated -linux-rvct targets to support RVDS 4.0 and later. - Changed optimization flag to -Otime because -O3 ruined performance for RVCT linux targets. - Added support for --enable-small for RVCT - RVCT created library should be able to link with GCC - Supports building shared linux libraries Change-Id: Ic62589950d86c3420fd4d908b8efb870806d1233
2011-05-05Merge "Runtime detection of available processor cores."Yunqing Wang
2011-04-15added -fomit-frame-pointer flag for gcc buildsScott LaVarnway
According to the docs, this should have been enabled, but the disassembled output shows otherwise. This improved the encode/decode performance. Change-Id: I45ad7e6d299b89ac3166d7ef7da75b74994344c6
2011-04-14update configure for ios sdk 4.3Joshua Bleecher Snyder
update for the latest version of the ios sdk. adding usr/lib/system fixes a missing libcache.dylib issue make isysroot path more DRY Change-Id: Ib748ef3dac3cac2e4848fbffa1e9a0112eac826b
2011-03-31Runtime detection of available processor cores.Attila Nagy
Detect the number of available cores and limit the thread allocation accordingly. On decoder side limit the number of threads to the max number of token partition. Core detetction works on Windows and Posix platforms, which define _SC_NPROCESSORS_ONLN or _SC_NPROC_ONLN. Change-Id: I76cbe37c18d3b8035e508b7a1795577674efc078
2011-03-15Avoid misspelling "dependent".Gaute Strokkenes
Change-Id: Ib0c280e1fcfd977e11e4390807b2c8077a87500c