Re: [ccache] icecc with cache: cache -s always 0.00 % ?

2019-03-07 Thread Joel Rosdahl via ccache
On Tue, 5 Mar 2019 at 08:08, Haio Maio via ccache
 wrote:

> On February 22, 2019 at 8:42 PM Joel Rosdahl  wrote:
>
> > Before trying to set up icecc as a wrapper together with ccache, you need
> > to make sure that ccache is used by the command(s) that you abbreviated as
> > "compile".
> >
> > When you wrote "compile", which commands do you actually run to compile?
>
> I followed the instructions
> https://github.com/icecc/icecream#how-to-combine-icecream-with-ccache which
> didnt leat to any results.
>
> Do you have any other suggestions?

My suggestion is that you should re-read my previous answers and try to learn
how ccache works. There are no magic commands to run to solve your problem as
long as we don't know what the problem is.

Start by trying to get ccache to work properly without using icecc. Since you
haven't answered my question about which commands you actually run, this is
something you need to do yourself.

Good luck!

-- Joel

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


Re: [ccache] icecc with cache: cache -s always 0.00 % ?

2019-02-22 Thread Joel Rosdahl via ccache
On Fri, 22 Feb 2019 at 19:42, Haio Maio via ccache
 wrote:
> Im afraid, I didnt understand your question?
>
> Im trying to use icecc/icecream as a wrapper for the compiler. Could you be 
> more specific of what did you mean?

Before trying to set up icecc as a wrapper together with ccache, you
need to make sure that ccache is used by the command(s) that you
abbreviated as "compile".

When you wrote "compile", which commands do you actually run to compile?

-- Joel

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


Re: [ccache] icecc with cache: cache -s always 0.00 % ?

2019-02-22 Thread Haio Maio via ccache
Im afraid, I didnt understand your question?

Im trying to use icecc/icecream as a wrapper for the compiler. Could you be 
more specific of what did you mean?

> On February 20, 2019 at 3:58 PM Joel Rosdahl  wrote:
> 
> 
> On Wed, 20 Feb 2019 at 12:46, Haio Maio via ccache
>  wrote:
> > Any suggestion of how to use successfully icecc with ccache? The following 
> > doesnt work ...
> >
> > export CCACHE_PREFIX=icecc
> >
> > compile
> >
> > ccache -s
> > [...]
> 
> It looks like ccache is never called in the compile step, so you need to make
> sure that ccache usage is set up properly there. What does the "compile" step
> do?
> 
> -- Joel

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


Re: [ccache] icecc with cache: cache -s always 0.00 % ?

2019-02-20 Thread Joel Rosdahl via ccache
On Wed, 20 Feb 2019 at 12:46, Haio Maio via ccache
 wrote:
> Any suggestion of how to use successfully icecc with ccache? The following 
> doesnt work ...
>
> export CCACHE_PREFIX=icecc
>
> compile
>
> ccache -s
> [...]

It looks like ccache is never called in the compile step, so you need to make
sure that ccache usage is set up properly there. What does the "compile" step
do?

-- Joel

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


[ccache] icecc with cache: cache -s always 0.00 % ?

2019-02-20 Thread Haio Maio via ccache
Any suggestion of how to use successfully icecc with ccache? The following 
doesnt work ...

export CCACHE_PREFIX=icecc

compile

ccache -s

cache directory /home/user/tmp/ccache
primary config /home/user/.ccache/ccache.conf
secondary config (readonly) /usr/local/etc/ccache.conf
stats updated Tue Feb 12 15:55:36 2019
stats zeroed Tue Feb 12 15:55:36 2019
cache hit (direct) 0
cache hit (preprocessed) 0
cache miss 0
cache hit rate 0.00 %
cleanups performed 0
files in cache 0
cache size 0.0 kB
max cache size 5.0 GB
___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache