Re: [ccache] ccache and precompiled headers

2010-08-28 Thread Joel Rosdahl
On 2010-08-27 15:59, Tor Arne Vestbø wrote: On 27.08.10 13.15, Tor Arne Vestbø wrote: I'm sorry to report that I'm seeing build issues with master when building Qt on Mac OS X (but the issue should be fixable): I'm assuming the hash is based solely on the contents of the preprocessed

Re: [ccache] ccache and precompiled headers

2010-08-21 Thread Joel Rosdahl
On 2010-07-03 14:22, Tor Arne Vestbø wrote: [...] As you can see removing pch from the build increases the total build time for the initial build (empty cache), but speeds up builds when there's something in the cache since we're hitting direct mode in almost all cases. When pch and ccache is

Re: [ccache] ccache and precompiled headers

2010-07-13 Thread Joel Rosdahl
On 2010-07-03 14:22, Tor Arne Vestbø wrote: [...] Right, that would be a solution. I assume GCC does not barf it passed -fpch-preprocess in non-preprocess mode. Yes, it works fine. [...] If that kind of compiler-feature-inspection is on the roadmap anyways that would indeed be an option,

Re: [ccache] ccache and precompiled headers

2010-07-03 Thread Tor Arne Vestbø
Hey! On Sun, Jun 27, 2010 at 2:15 PM, Joel Rosdahl j...@rosdahl.net wrote: Hi, On 2010-06-21 13:09, Tor Arne Vestbř wrote: I ran into a problem where ccache would log Preprocessor gave exit status 1 and fail to cache builds. The solution seems to be to add the -fpch-preprocess flag, which

Re: [ccache] ccache and precompiled headers

2010-06-27 Thread Joel Rosdahl
Hi, On 2010-06-21 13:09, Tor Arne Vestbø wrote: I ran into a problem where ccache would log Preprocessor gave exit status 1 and fail to cache builds. Closer inspection revealed that this was due to the use of precompiled headers though an -include argument to gcc. When ccache then tried to