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 >> preprocess

Re: [ccache] ccache and precompiled headers

2010-08-27 Thread Tor Arne Vestbø
On 27.08.10 13.15, Tor Arne Vestbø wrote: On 22.08.10 12.42, Joel Rosdahl wrote: On 2010-08-21 16:30, Joel Rosdahl wrote: I've started implementing support for preprocessed headers (.gch) Done. Tor Arne: It would be great if you could try the current dev version of ccache and see if it works

Re: [ccache] ccache and precompiled headers

2010-08-27 Thread Tor Arne Vestbø
On 22.08.10 12.42, Joel Rosdahl wrote: On 2010-08-21 16:30, Joel Rosdahl wrote: I've started implementing support for preprocessed headers (.gch) Done. Tor Arne: It would be great if you could try the current dev version of ccache and see if it works well for you and if you get direct mode hi

Re: [ccache] ccache and precompiled headers

2010-08-23 Thread Tor Arne Vestbø
On 22.08.10 12.42, Joel Rosdahl wrote: On 2010-08-21 16:30, Joel Rosdahl wrote: I've started implementing support for preprocessed headers (.gch) Done. Tor Arne: It would be great if you could try the current dev version of ccache and see if it works well for you and if you get direct mode hi

Re: [ccache] ccache and precompiled headers

2010-08-22 Thread Joel Rosdahl
On 2010-08-21 16:30, Joel Rosdahl wrote: > I've started implementing support for preprocessed headers (.gch) Done. Tor Arne: It would be great if you could try the current dev version of ccache and see if it works well for you and if you get direct mode hits when you use precompiled headers. --

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 ccach

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 opti

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 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 will

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