Re: [ccache] Caching failed compilations

2015-07-06 Thread Andrew Stubbs
On 05/07/15 16:47, Joel Rosdahl wrote: Hi, I did have a look at how feasible it is, and basically I think it can be done. Yes, caching failures (from the compiler, not the preprocessor) would be feasible and I think that it's a good idea, at least as an optional feature. I'm not very

Re: [ccache] Caching failed compilations

2015-07-06 Thread Joel Rosdahl
After thinking further, I'd be tempted to say that ccache should *not* cache failures with exit codes other than 1 as they're likely not repeatable (OOM, Crtl-C, etc.). Perhaps just signal a failed compile with a cache result that is present but zero-length? (We could also say that it