Re: [ccache] auto-disabling ccache when gcc gets plugins?

2012-10-18 Thread Martin Pool
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.
-- 
Martin
___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache


Re: [ccache] auto-disabling ccache when gcc gets plugins?

2012-10-18 Thread Eitan Adler
On 18 October 2012 20:18, Martin Pool m...@sourcefrog.net 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.

I'd rather off-by-default rather than on. ccache should be
conservative about it can cache if it doesn't know (or at least warn
for unknown plugins).

-- 
Eitan Adler
___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache