Poudriere and CCache in FreeBSD 10-RELEASE
Zenny
garbytrash at gmail.com
Wed Jan 29 07:16:23 UTC 2014
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
More information about the freebsd-stable
mailing list