Date: Sat, 4 Aug 2012 14:16:07 +0100 From: RW <rwmaillists@googlemail.com> To: ports@freebsd.org Subject: Re: [CFT] [bsd.port.mk] ports ccache build support Message-ID: <20120804141607.55249f62@gumby.homeunix.com> In-Reply-To: <501C7572.3020707@FreeBSD.org> References: <501C7572.3020707@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 03 Aug 2012 20:05:54 -0500 Bryan Drewery wrote: > Hi, > > ports/169579 is currently tracking this. > > This patch adds ccache support to ports (off by default). Other > patches have changed $CC to use ccache, which results in having a > space in $CC. This breaks many ports such as boost and libtool ports. > > This patch however utilizes the symlinks in > /usr/local/libexec/ccache/{cc,gcc,etc...} by prefixing that directory > into $PATH in the $MAKE_ENV. But if you've read the ccache documentation you probably already have that directory in PATH anyway. Does this patch provide a significant advantage? > The cache directory CCACHE_DIR defaults to /usr/obj/ccache >... > To use ccache(1) from the command line to configure the size or view > stats: CCACHE_DIR=/usr/obj/ccache ccache -s Having a default ccache directory in the makefile that's different from the default documented in the ccache man page seems needlessly confusing to me. And see hier(7) and section 25.7.6 of the handbook for why /usr/obj/ccache is a poor choice.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120804141607.55249f62>