poudriere & ccache

Carmel NY carmel_ny at outlook.com
Tue Dec 5 11:10:21 UTC 2017

On Tuesday, December 5, 2017 5:25 AM, Solène Rapenne stated:
> Le 2017-12-04 21:12, Carmel NY a écrit :
> > I installed "ccache" and uncommented the line in the poudriere.conf
> > file to activate it, or so I thought. There is no indication that
> > "ccache" is actually being used. "ccache -s"
> > shows zero activity. What am I doing wrong?
> Hello,
> maybe poudriere invokes ccache with a data directory specified so ccache -s
> won't display anything until it use the same directory.

env CCACHE_DIR=/var/cache/ccache ccache -s
cache directory                     /var/cache/ccache
primary config                      /var/cache/ccache/ccache.conf
secondary config      (readonly)    /usr/local/etc/ccache.conf
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                      10.0 GB

I placed a ccache.conf file in that directory and increased the max size to 10 GB
I read somewhere that, that might make a difference. It didn't.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20171205/f907bdc3/attachment.sig>

More information about the freebsd-questions mailing list