Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2017 11:10:18 +0000
From:      Carmel NY <carmel_ny@outlook.com>
To:        'FreeBSD' <freebsd-questions@freebsd.org>
Subject:   RE: poudriere & ccache
Message-ID:  <BN6PR2001MB1730096E2CF912B4C07C08A5803D0@BN6PR2001MB1730.namprd20.prod.outlook.com>
In-Reply-To: <abc6c76a89d833ce545385039e390457@perso.pw>
References:  <BN6PR2001MB173036BDB5B5287EF7CACE10803C0@BN6PR2001MB1730.namprd20.prod.outlook.com> <abc6c76a89d833ce545385039e390457@perso.pw>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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.

-- 
Carmel

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEh3rFs7ZCOM581rwKjsagALPkYOsFAlomfoAACgkQjsagALPk
YOtHfggAyYtCTgUiSDuebSxyoxiS13twLHm0Mw74cTyIQu2l5ZdicXay7sshmY+O
DJ5kl1qogIglPn25UmYjhTcKa1dO2vTlxGFYn4O1WtVeXEnQSwkulRdOzTEyDqiK
839b0e1D8oPu33DqXJqhDWr38lJB2gKh1w/rwHtIJdevCa4OokzS2hsSVkxtqCFK
6xJDs3eJH6V14W6FPCUU8vOgFFD4e3a/Ee0h06Wa8IqCz5B+J5SybYPP8PyPKz2G
BferrP5kNtHaTFajtxFqXfkjg9RmXQpNX9Z4C8OvdGfgQo2sQ/nw4i6bP3/7kwkG
GJVZ+H1UyS3VNazbw99yMqWZAmyw+w==
=S4hc
-----END PGP SIGNATURE-----


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BN6PR2001MB1730096E2CF912B4C07C08A5803D0>