]> git.ipfire.org Git - thirdparty/ccache.git/commit
Allow a pre-computed checksum file for precompiled headers
authorGeert Kloosterman <geert.kloosterman@brightcomputing.com>
Mon, 19 Feb 2018 14:24:55 +0000 (15:24 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 1 Mar 2018 19:56:37 +0000 (20:56 +0100)
commit27cac6ff668d8a38ad08bd9e29320f2240024902
tree286b104fad40f1b1ec8bba3935109f08c2cf390b
parent3b4f2cc8efac86bbb43bba541a441ff8a6cd6416
Allow a pre-computed checksum file for precompiled headers

Having large precompiled header files slows down direct mode off
CCache considerably. Allow CCache to check against a (much smaller)
pre-computed checksum file instead of the precompiled header file
itself. This checksum file will be used in the manifest instead of
the actual precompiled header file.

Note that to make this to work, the build system needs to keep a
checksum file in sync with the precompiled header.

The behavior can be activated by the `pch_external_checksum` option.
doc/MANUAL.txt
src/ccache.c
src/conf.c
src/conf.h
src/confitems.gperf
src/confitems_lookup.c
src/envtoconfitems.gperf
src/envtoconfitems_lookup.c
test/suites/pch.bash
unittest/test_conf.c