diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-03-09 14:00:55 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-04-08 12:24:16 +0200 |
commit | 58a7e252320f630f871d6c93dca5a3a85a44d9a6 (patch) | |
tree | 42ebe2e464c8623bf1cd49c6fd23c6686012f31d /solenv/gbuild/PrecompiledHeaders.mk | |
parent | tdf#124327 sc opengl: fix lack of AA text in charts (diff) | |
download | core-58a7e252320f630f871d6c93dca5a3a85a44d9a6.tar.gz core-58a7e252320f630f871d6c93dca5a3a85a44d9a6.zip |
support for CCACHE_PCH_EXTSUM
Manpage for ccache says that hashing large PCH files may take a bit,
so if CCACHE_PCH_EXTSUM is set, ccache will instead try to hash just
a file named as the PCH file with .sum added. The build system is
responsible for handling the file.
Change-Id: I33fd04f54952d00c0f84ca364f939a86a4844fa6
Reviewed-on: https://gerrit.libreoffice.org/70380
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'solenv/gbuild/PrecompiledHeaders.mk')
-rw-r--r-- | solenv/gbuild/PrecompiledHeaders.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/PrecompiledHeaders.mk b/solenv/gbuild/PrecompiledHeaders.mk index a2c1f323baf3..37adf778f2e3 100644 --- a/solenv/gbuild/PrecompiledHeaders.mk +++ b/solenv/gbuild/PrecompiledHeaders.mk @@ -39,6 +39,7 @@ $(call gb_PrecompiledHeader_get_dep_target,%) : $(call gb_PrecompiledHeader_get_target,%) : rm -f $@ $(call gb_PrecompiledHeader__command,$@,$*,$<,$(PCH_DEFS),$(PCH_CXXFLAGS) $(gb_PrecompiledHeader_EXCEPTIONFLAGS),$(INCLUDE)) + $(SHA256SUM) $@ >$@.sum ifeq ($(gb_FULLDEPS),$(true)) $(call gb_Helper_abbreviate_dirs,\ RESPONSEFILE=$(call var2file,$(shell $(gb_MKTEMP)),200,$(call gb_PrecompiledHeader_get_dep_target_tmp,$*)) && \ @@ -54,6 +55,7 @@ $(call gb_PrecompiledHeader_get_clean_target,%) : rm -f $(call gb_PrecompiledHeader_get_target,$*) \ $(call gb_PrecompiledHeader_get_target,$*).obj \ $(call gb_PrecompiledHeader_get_target,$*).pdb \ + $(call gb_PrecompiledHeader_get_target,$*).sum \ $(call gb_PrecompiledHeader_get_timestamp,$*) \ $(call gb_PrecompiledHeader_get_dep_target,$*)) |