Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 12:11:37 +0000
From:      Tom Evans <tevans.uk@googlemail.com>
To:        Zenny <garbytrash@gmail.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Poudriere and CCache in FreeBSD 10-RELEASE
Message-ID:  <CAFHbX1JkfiJWo=CRmU3Lo-_e_Y7Z%2Bogj3%2BmSZx-r0BOBixcekg@mail.gmail.com>
In-Reply-To: <CACuV5sAyMcFjdL3x4ooDXGVPkSuRbLJ2%2BucahtFejT17t0kWMg@mail.gmail.com>
References:  <CACuV5sAyMcFjdL3x4ooDXGVPkSuRbLJ2%2BucahtFejT17t0kWMg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 29, 2014 at 7:16 AM, Zenny <garbytrash@gmail.com> wrote:
> On FreeBSD 10.0-RELEASE, what I did was:
>
> ATTEMPT A:
> =C2=A71. Installed ccache and dialog4ports from pkg(ng) repos with 'pkg
> install ccache'.
> =C2=A72 Appended 'CCACHE_DIR=3D/var/cache/ccache' to /usr/local/etc/poudr=
iere.conf'
                             ^^^^^^^^^^^^^

>
> ATTEMPT B:
> =C2=A74. Then I appended the following three lines to /etc/make.conf to
> mount ccache to tmpfs
> WRKDIRPREFIX=3D/ccache
> WITH_CCACHE_BUILD=3Dyes
> CCACHE_COMPRESS=3Dyes
> =C2=A75 Appended 'none /ccache tmpfs rw,size=3D4294967296 0 0' to /etc/fs=
tab'
> and mounted /compcache.
> =C2=A76 Replaced  CCACHE_DIR=3D/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFHbX1JkfiJWo=CRmU3Lo-_e_Y7Z%2Bogj3%2BmSZx-r0BOBixcekg>