Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 08:16:22 +0100
From:      Zenny <garbytrash@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Poudriere and CCache in FreeBSD 10-RELEASE
Message-ID:  <CACuV5sAyMcFjdL3x4ooDXGVPkSuRbLJ2%2BucahtFejT17t0kWMg@mail.gmail.com>

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

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
cache hit (direct)                     0
cache hit (preprocessed)               0
cache miss                             0
files in cache                         0
cache size                             0 Kbytes
max cache size                       1.0 Gbytes

Is there a specific way to use CCACHE with Poudriere in FreeBSD
10-RELEASE? What did I miss? Thanks!

/zenny



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