From owner-freebsd-current@freebsd.org Fri Oct 16 00:49:23 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E27FA16C97 for ; Fri, 16 Oct 2015 00:49:23 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 84C0DCC7 for ; Fri, 16 Oct 2015 00:49:23 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 81C2CA16C96; Fri, 16 Oct 2015 00:49:23 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8071DA16C95 for ; Fri, 16 Oct 2015 00:49:23 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 63980CC6; Fri, 16 Oct 2015 00:49:23 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 5CD3C1091; Fri, 16 Oct 2015 00:49:23 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 0715E11BFD; Fri, 16 Oct 2015 00:49:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id MNYYGH0hCM0e; Fri, 16 Oct 2015 00:49:15 +0000 (UTC) Content-Type: text/plain; charset=us-ascii DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 0AAA711BF9 Mime-Version: 1.0 (1.0) Subject: Re: [CFT] Buildworld ccache support From: Bryan Drewery X-Mailer: iPhone Mail (12H143) In-Reply-To: Date: Thu, 15 Oct 2015 17:49:12 -0700 Cc: "current@FreeBSD.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <561FC81B.1090309@FreeBSD.org> To: Warren Block X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2015 00:49:23 -0000 > On Oct 15, 2015, at 17:31, Warren Block wrote: >=20 >> On Thu, 15 Oct 2015, Bryan Drewery wrote: >>=20 >> Hi, >>=20 >> If you are interested in using ccache in buildworld please consider >> using this patch locally and giving me some feedback. The current >> advice for ccache+buildworld (the CC:=3D trick in make.conf) actually >> results in the build thinking you are using a cross-compiler which >> results in unintended side-effects. It also doesn't work with meta mode >> as it handles CC and toolchain differently. This patch intends to cover >> all cases. >>=20 >> https://people.freebsd.org/~bdrewery/patches/world-ccache.diff >>=20 >> To use just set WITH_CCACHE_BUILD=3D in src.conf or make.conf. I >> purposely matched it to the same as the ports build. >=20 > Will this work on -stable? No but I could likely adapt it for there too. I'm more cautious about puttin= g this there since I never build stable. Bryan=20=