Re: [ccache] Implementing a Read-only HTTP CCACHE_DIR

2012-04-19 Thread Chris AtLee
I can think of several network options that could work well: - zeromq - memcached - riak - redis Perhaps we need a simple plugin API to make it easier to experiment with different options here? On Mon, Apr 2, 2012 at 9:51 PM, Martin Pool wrote: > Hi, Richard, > > The general thing of network-wid

Re: [ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2012-03-30 Thread Chris AtLee
miss 3107 called for link 208 preprocessor error 1 unsupported source language8 autoconf compile/link 11 no input file 4 On Sun, Aug 14, 2011 at 1:53 PM, Joel Rosdahl wrote: > On 2011-08-02 03:52, Chr

Re: [ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2011-09-06 Thread Chris AtLee
Hi Jonathan, Can you try this revision and see if it works for you on windows? https://github.com/catlee/ccache/commit/02151ca60e0740d8046d9778d5b6d8f2891beec4 Cheers, Chris On Mon, Aug 22, 2011 at 4:00 AM, Jonathan Martens wrote: > On 22-8-2011 5:33, Justin Lebar wrote: >> >> I'm confused; do

Re: [ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2011-08-15 Thread Chris AtLee
On Mon, Aug 15, 2011 at 7:49 AM, Jonathan Martens wrote: > This commit brakes compilation on windows with the following errror: > >    gcc -g -O2 -Wall -W  -o ccache.exe main.o ccache.o mdfour.o hash.o > execute.o util.o args.o stats.o version.o cleanup.o snprintf.o unify.o > manifest.o hashtable.

Re: [ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2011-08-10 Thread Chris AtLee
t; $ ./test; md5sum test.gcda; rm test.gcda > hello world > 1c14199a60b2e5b9e6f1e96360adc40c  test.gcda > $ ./test; md5sum test.gcda; rm test.gcda > hello world > 1c14199a60b2e5b9e6f1e96360adc40c  test.gcda > > On Wed, Aug 10, 2011 at 10:51 AM, Chris AtLee wrote: >> On Mo

Re: [ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2011-08-10 Thread Chris AtLee
On Mon, Aug 8, 2011 at 4:24 PM, Justin Lebar wrote: >> The .gcda files themselves aren't cached, their contents are used to >> calculate the hash for a -fprofile-use run. So if the .o file doesn't >> exist, and you have the same .gcda file, you get a cache hit. > > Ah, I see.  What if the .o file

Re: [ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2011-08-08 Thread Chris AtLee
On Mon, Aug 8, 2011 at 10:06 AM, Justin Lebar wrote: > On Mon, Aug 8, 2011 at 9:58 AM, Chris AtLee wrote: >> Any thoughts on if caching the .gcda files is useful? Maybe have >> another environment variable that switches it on? > > What do you mean?  These files aren't g

Re: [ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2011-08-08 Thread Chris AtLee
Any thoughts on if caching the .gcda files is useful? Maybe have another environment variable that switches it on? Other than that, are there any other concerns with the new code? Cheers, Chris On Tue, Aug 2, 2011 at 12:05 PM, Chris AtLee wrote: > If you use the same .gcda files with -fprof

Re: [ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2011-08-02 Thread Chris AtLee
. > > -Justin > > On Mon, Aug 1, 2011 at 9:52 PM, Chris AtLee wrote: >> Thanks again for all your feedback. >> >> My latest code on github should address all the comments so far: >> https://github.com/catlee/ccache/compare/jrosdahl:master...catlee:profil

Re: [ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2011-08-01 Thread Chris AtLee
Thanks again for all your feedback. My latest code on github should address all the comments so far: https://github.com/catlee/ccache/compare/jrosdahl:master...catlee:profile Keep the feedback coming! Cheers, Chris ___ ccache mailing list ccache@lists.

Re: [ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2011-07-25 Thread Chris AtLee
I've pushed some changes up here that I hope addresses all the comments: https://github.com/catlee/ccache/compare/jrosdahl:master...catlee:profile On Fri, Jul 22, 2011 at 3:19 PM, Chris AtLee wrote: > On Fri, Jul 22, 2011 at 1:49 PM, Joel Rosdahl wrote: >> Justin Lebar's

[ccache] Support for -fprofile-generate, -fprofile-use, -fprofile-arcs

2011-07-21 Thread Chris AtLee
Hi, I recently did some work to get ccache to support gcc's various -fprofile-* options. In some local testing in works great. I've got the code up on github right now: https://github.com/catlee/ccache/compare/jrosdahl:master...catlee:profile Does this approach look like it will work? Cheers, C