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>

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

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:
> §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


help

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