gbuild, deps and ccache

Norbert Thiebaud nthiebaud at gmail.com
Fri Nov 9 06:07:42 PST 2012


On Fri, Nov 9, 2012 at 7:04 AM, Bjoern Michaelsen
<bjoern.michaelsen at canonical.com> wrote:
> Hi,
>
> so the way gbuild generates dependencies prevents ccache to be confident about
> using its cache most of the time. To see this: do a/ build b/ make clean
> c/build from an empty ccache dir once with and without dep-tracking.

1/ presumably, now-a-day with everything under gbuild, the dep
tracking should be fairly reliable, hence rending ccache less
relevant. It might be that we should not auto-enable ccache when
dep-tracking is enabled.
2/ that problem seems to me related to switching dep-tracink between
build... that is a very limited corner case that is not worth
optimizing, especially not at the expense of complexity and overhead
to the common cases. iow: if it hurt when you do it... stop doing it
:-)

Norbert


More information about the LibreOffice mailing list