From owner-freebsd-current@freebsd.org Fri Oct 16 00:31:16 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 3FF19A168FC for ; Fri, 16 Oct 2015 00:31:16 +0000 (UTC) (envelope-from wblock@wonkity.com) 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 279831D13 for ; Fri, 16 Oct 2015 00:31:16 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: by mailman.ysv.freebsd.org (Postfix) id 26EC7A168FB; Fri, 16 Oct 2015 00:31:16 +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 25975A168FA for ; Fri, 16 Oct 2015 00:31:16 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DD43F1D10; Fri, 16 Oct 2015 00:31:15 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t9G0VEjE004452 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 15 Oct 2015 18:31:14 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t9G0VEYB004449; Thu, 15 Oct 2015 18:31:14 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 15 Oct 2015 18:31:14 -0600 (MDT) From: Warren Block To: Bryan Drewery cc: current@FreeBSD.org Subject: Re: [CFT] Buildworld ccache support In-Reply-To: <561FC81B.1090309@FreeBSD.org> Message-ID: References: <561FC81B.1090309@FreeBSD.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 15 Oct 2015 18:31:14 -0600 (MDT) 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:31:16 -0000 On Thu, 15 Oct 2015, Bryan Drewery wrote: > Hi, > > 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:= 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. > > https://people.freebsd.org/~bdrewery/patches/world-ccache.diff > > To use just set WITH_CCACHE_BUILD= in src.conf or make.conf. I > purposely matched it to the same as the ports build. Will this work on -stable?