Poudriere and CCache in FreeBSD 10-RELEASE

Tom Evans tevans.uk at googlemail.com
Wed Jan 29 12:11:40 UTC 2014


On Wed, Jan 29, 2014 at 7:16 AM, Zenny <garbytrash at gmail.com> wrote:
> On FreeBSD 10.0-RELEASE, what I did was:
>
> ATTEMPT A:
> §1. Installed ccache and dialog4ports from pkg(ng) repos with 'pkg
> install ccache'.
> §2 Appended 'CCACHE_DIR=/var/cache/ccache' to /usr/local/etc/poudriere.conf'
                             ^^^^^^^^^^^^^

>
> ATTEMPT B:
> §4. Then I appended the following three lines to /etc/make.conf to
> mount ccache to tmpfs
> WRKDIRPREFIX=/ccache
> WITH_CCACHE_BUILD=yes
> CCACHE_COMPRESS=yes
> §5 Appended 'none /ccache tmpfs rw,size=4294967296 0 0' to /etc/fstab'
> and mounted /compcache.
> §6 Replaced  CCACHE_DIR=/ccache' to /usr/local/etc/poudriere.conf'
                         ^^^^^^^^^^^

>
> In both cases, 'ccache -s' shows no hits:
>
> # ccache -s
> cache directory                     /root/.ccache
                                             ^^^^^^^^^

Are you sure it isn't working, and not that you are inspecting a
different cache directory?

Cheers

Tom


More information about the freebsd-stable mailing list