Around line 1601 of ccache.c there are some parameter checks to disable
ccache. The code uses the terminology "too hard" when it disables caching.
You will also need to add a test to test/test_compopt.c and look for the
"too_hard" tests for an example.

On Thu, Oct 18, 2012 at 10:35 PM, Basile Starynkevitch <
bas...@starynkevitch.net> wrote:

> On Fri, Oct 19, 2012 at 11:18:58AM +1100, Martin Pool wrote:
> > Disabling all caching because any plugins are used seems like a bit of
> > overkill: while they _can_ be impure, I wonder if most will be?  But
> > probably disabling when MELT is present would be reasonable.
> >
> > There is existing code to disable caching when particular flags are
> present
> > so it should be a one-line fix.
>
> In what function (and what line?) of ccache.c do you believe should I
> patch that fix?
>
> Regards.
>
> --
> Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
> email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
> 8, rue de la Faiencerie, 92340 Bourg La Reine, France
> *** opinions {are only mines, sont seulement les miennes} ***
> _______________________________________________
> ccache mailing list
> ccache@lists.samba.org
> https://lists.samba.org/mailman/listinfo/ccache
>
_______________________________________________
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache

Reply via email to