]> git.ipfire.org Git - thirdparty/ccache.git/commit
Add aggregated file storing all the results (#408)
authorAnders Björklund <anders.f.bjorklund@gmail.com>
Tue, 28 May 2019 20:08:32 +0000 (22:08 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 30 May 2019 19:05:39 +0000 (21:05 +0200)
commit0399be2d625a7bd61df545b78f13bca2fa61ceb6
tree300f6259d4f17175af820167c7f03ce461c29580
parent6b1167ebd316013d2d10b0cd05afb7d6a95f7210
Add aggregated file storing all the results (#408)

* Add aggregated file storing all the results

* Add dump result method, for viewing binary

Just show sizes, not contents

* Check the results rather than cache contents

This helps when changing the cache storage

* Rename cache struct to filelist instead

Now that it doesn't really store anything

* Add version and hash size to result header

* Copy files by buffer instead of by byte

* Make aggregated result files optional

This will guard the tests, until ready to integrate

* Fix clang warning about unused macros

* Stray comma in configure broke the Mac build

* Avoid freeing the provided structure

* Avoid getting result from cache twice

* Fix partial read/write after rewrite

* Add test cases for aggregated result

* Fix wrong suffix for the depend file

* Read the .stderr with the rest of result

* Fix test suite only being run for clang

* Respect the compression level for result
Makefile.in
configure.ac
src/ccache.c
src/result.c [new file with mode: 0644]
src/result.h [new file with mode: 0644]
test/suites/base.bash
test/suites/cleanup.bash
test/suites/depend.bash
test/suites/direct.bash
test/suites/serialize_diagnostics.bash
test/suites/split_dwarf.bash