summaryrefslogtreecommitdiff
path: root/build
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-18Add 'jni' to documention for ndk-buildJohann
ndk-build is intended to be launched from the application directory, not the jni directory. Clarify the path in the comments. Change-Id: Ie0faa89a13d967088a4fd2fd1c647962a9c04217
2012-12-10Fix ads2gas script to look for ALIGN as a word.Frank Galligan
Change-Id: I4efc4f4e87e8666b69257de82c5c5dd4aadee28c
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-12-04Fix the build with MSVCYaowu Xu
1. remove the dependency on non existing "vp9_temporal_filter_x86.h" 2. prefix filenames with vp9_ in obj_int_extract.bat to reflect the change of the actual filenames. Change-Id: Ib1b4d96ac41788f76917764a6722d8461c857302
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-27Revert "make: flatten object file directories"John Koleszar
This reverts commit b72373de79800e801ce730d24cb115daf78ae660. Change-Id: Ic1601160e11df1a018ef12da25967cfb5eebd5ba
2012-11-20Merge "make: fix dependency generation for flat build tree" into experimentalJohn Koleszar
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-16remove yasm.rulesYaowu Xu
As we changed the scripts to compile asm files using customized command for each file. Change-Id: I975713f3d0cce2238de3ee3fe44e3227385f0c64
2012-11-15changed asm obj output filenames in MSVC buildYaowu Xu
this commit changed the asm file compiling in MSVC to use individually customized build command line with object filename specified for each input file. This allows object filenames prefixed with path name, and avoid name collision in link time Change-Id: I996098643dcadc393af57035a04bef3877f45424
2012-11-15support building vp8 and vp9 into a single libJohn Koleszar
Change-Id: Ib8f8a66c9fd31e508cdc9caa662192f38433aa3d
2012-11-15make: flatten object file directoriesJohn Koleszar
Rather than building an object file directory heirarchy matching the source tree's layout, rename the object files so that the object file name contains the path in the source file tree. The intent here is to allow two files in different parts of the source tree to have the same name and still not collide when put into an ar archive. Change-Id: Id627737dc95ffc65b738501215f34a995148c5a2
2012-11-08enable build on windows with msvcYaowu Xu
Change-Id: I34057b87d9713dc819b8c69990dd1408b8c79342
2012-11-08ads2gas.pl: convert push/pop and whole keywords.Ahmad Sharif
This change converts push to stmdb and pop to ldmia. In addition word boundaries are obeyed using \b avoiding substituion where not appropriate. Patch provided by ihf@chromium.org. TEST=Used on many Daisy assembly files. BUG=None. Change-Id: Ie5b197b158edd0467294551d0b640c8db6530d95
2012-11-05build: merge with masterJohn Koleszar
Change-Id: I8ea836ce92c1c96f1e2bdf45e704d36ec9dbc401
2012-11-02ads2gas.pl: various enhancements to work with flash.Ahmad Sharif
TEST=Ran it on different asm files. Change-Id: Ief2a009366787954d0eb5c356c64acaef350cf84
2012-11-01Rename vp8/ codec directory to vp9/.Ronald S. Bultje
Change-Id: Ic084c475844b24092a433ab88138cf58af3abbe4
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-22Fix file permissionsJohn Koleszar
Change-Id: I8d1a2c664cbeb939cf23bcd414b23e19da760a14
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-25shared object on mac osxjimbankoski
Change-Id: Ibf357eb492e7d5883fbdf1ddf455e28767c1d65d
2012-07-24makefile: fix .so build ruleJohn Koleszar
Use $^ vs $? to capture all prerequisites, rather than only newer ones. Change-Id: I464ffb2913cf60f5ca5e07518ad4bf7da10baf87
2012-07-23Dll build of libvpxJim Bankoski
Change-Id: I74e50b4dfbe73eb98e1dce1695a9973f637220c0
2012-07-20bash uses curly bracesJohann
Change-Id: I2799c766008dc9016d2e55e6e40ae2c4ae4b37d2
2012-07-20Disabling MIPS optimizations for big endian platformsDragan Mrdjan
Change-Id: Idae399ecbd10e287ef30b2e0b95822dc9175ce0a
2012-07-17Restyle codeJohn Koleszar
Approximate the Google style guide[1] so that that there's a written document to follow and tools to check compliance[2]. [1]: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml [2]: http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py Change-Id: Idf40e3d8dddcc72150f6af127b13e5dab838685f
2012-07-11Fix to compile properly on MIPSDragan Mrdjan
Change-Id: I816d903e36605db2af691ccea9e68d7390942baa
2012-07-10VP8 optimizations for MIPS dspr2Dragan Mrdjan
Signed-off-by: Raghu Gandham <raghu@mips.com> Change-Id: I3a8bca425cd3dab746a6328c8fc8843c8e87aea6
2012-06-25Merge changes I94a061eb,If6910fe3John Koleszar
* changes: add auto keyframe unit test Add support for downloading test data
2012-06-25gen_asm_deps.sh: regex fixJohn Koleszar
Fixed the quantifier that optionally matches a quote before the filename. This was originally reported in the homebrew project[1]. Note that this fix is different than patch posted there, as there are some platforms that don't have the quote, so it needs to be included in the expression optionally. [1]: https://github.com/mxcl/homebrew/issues/12567#issuecomment-6434000 Change-Id: Ibf2ed93ce169d80932e877f942dc4eeb03867f8b
2012-06-21Add support for downloading test dataJohn Koleszar
The commit introduces a make target 'testdata' that downloads the required test data from the WebM project website. The data will also be downloaded if invoking `make test` but is not a strict requirement for only building the test executable. The download directory is taken from the LIBVPX_TEST_DATA_PATH environment variable, or may be specified as part of the make command. If unset, it defaults to the current directory. It's expected that most developers will want to set this environment variable to a place outside their source/build trees, to avoid having to download the data more than once. To add test data file: 1) add a line to test/test.mk: LIBVPX_TEST_DATA-yes += foo-bar-file.y4m 2) add its sha1sum to the test/test-data.sha1 file in the following format: 528cc88c821e5f5b133c2b40f9c8e3f22eaacc4c foo-bar-file.y4m 3) upload the file to the website $ gsutil cp foo-bar-file.y4m gs://downloads.webmproject.org/test_data/libvpx This implementation will check the integrity of the test data automatically if the `sha1sum` executable is available. Change-Id: If6910fe304bb3f5cdcc5cb9e5f9afa5be74720d2
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-15Remove threading dependencies with --disable-multithreadJohn Koleszar
Avoid a pthreads dependency via pthread_once() when compiled with --disable-multithread. In addition, this synchronization is disabled for Win32 as well, even though we can be sure that the required primatives exist, so that the requirements on the application when built with --disable-multithread are consistent across platforms. Users using libvpx built with --disable-multithread in a multithreaded context should provide their own synchronization. Updated the documentation to vpx_codec_enc_init_ver() and vpx_codec_dec_init_ver() to note this requirement. Moved the RTCD initialization call to match this description, as previously it didn't happen until the first frame. Change-Id: Id576f6bce2758362188278d3085051c218a56d4a
2012-06-05Skip AS detection for VSJohann Koenig
Visual Studio doesn't use the assembler in $PATH Change-Id: I169f8492127cbc1d256a2fb2e749cd970040ccc8
2012-05-30Fix windows build: obj_int_extract to extract numbrs from .rdataAlpha Lam
The change in assembly offset files to define values as const int broke Windows build, because the variables are stored in .rdata section instead of .data section. This CL changes the integer peeking from .data to .rdata. Change-Id: I87e465ddcc78d39ec29f3720ea7df0ab807d5512
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-11add unit test support via google testJames Berry
adds unit testing via google test Change-Id: I144b50a976d79251fc5135186a4e0a5051ed0e8c
2012-05-01Merge "Update paths for iOS 5.1" into eiderJohann