From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 08:24:38 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4B0F815 for ; Mon, 26 Jan 2015 08:24:38 +0000 (UTC) Received: from frv27.fwdcdn.com (frv158.fwdcdn.com [212.42.77.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 74129D6A for ; Mon, 26 Jan 2015 08:24:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=bMyM/KRmst0HGZBC5KaChkLdWEBc103WrnDMyGvWkxc=; b=mTCqYKeVuzOnLfw2YU04alINoLWL91JgelcMBPELP4iFZ/xVDz1dELlAgN45USGgdtuwmUEniMnM77Mw4CgGNb4ywMAHKfgoqkIvCddi5ogudrAn06Azcx+5cf4xWHX9LUZ8y86SWV4G01a01us5Pg3L6wPwfFd31PeQa2Liy9Q=; Received: from [5.248.240.69] (helo=nonamehost.local) by frv27.fwdcdn.com with esmtpsa ID 1YFey7-000HW4-8c ; Mon, 26 Jan 2015 10:24:23 +0200 Date: Mon, 26 Jan 2015 10:24:22 +0200 From: Ivan Klymenko To: Scott Bennett Subject: Re: buildworld, buildkernel, and devel/cache Message-ID: <20150126102422.518a48db@nonamehost.local> In-Reply-To: <201501260602.t0Q6247U019973@sdf.org> References: <201501260602.t0Q6247U019973@sdf.org> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Authentication-Result: IP=5.248.240.69; mail.from=fidaj@ukr.net; dkim=pass; header.d=ukr.net Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2015 08:24:38 -0000 =D0=92 Mon, 26 Jan 2015 00:02:04 -0600 Scott Bennett =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > I am now running FreeBSD 10.1-STABLE (amd64) r277396 and have > installed devel/ccache. In /etc/make.conf I have >=20 > WITH_CCACHE_BUILD=3Dyes > CCACHE_CPP2=3D1 >=20 > In /etc/src.conf I have >=20 > WITH_LLDB=3D >=20 > In /root/.profile I have >=20 > CCACHE_DIR=3D/buildwork/ccache > export PATH=3D/usr/local/libexec/ccache:$PATH > export CCACHE_PATH=3D/usr/bin:/usr/local/bin >=20 > In /root/.cshrc.extensions, a file I source from /root/.cshrc, I have >=20 > setenv CCACHE_DIR /buildwork/ccache > setenv PATH /usr/local/libexec/ccache:$PATH > setenv CCACHE_PATH /usr/bin:/usr/local/bin >=20 > ccache seems to be working just fine for building ports with > portmaster, but I don't see any evidence that either "make > buildworld" or "make buildkernel" make any use of ccache at all. > I've searched the archives for several FreeBSD lists, but haven't > turned up anything helpful. If someone knows what I need to do to > get ccache involved in buildworld and buildkernel, would you share it > here please? I would very much like to reduce the times for those > builds. Also, if so, please Cc me directly because I'm currently > subscribed only to the digest form of these lists, which means I may > not see responses until the digest arrives, which is often a day or > more after a followup is posted. Thanks greatly for any help on this! >=20 This file is in some ways you can help /usr/local/share/doc/ccache/ccache-howto-freebsd.txt