From owner-freebsd-current@freebsd.org Sat May 28 04:53:31 2016 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 72E15B4DC48 for ; Sat, 28 May 2016 04:53:31 +0000 (UTC) (envelope-from rodrigc@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 6A1C6178D; Sat, 28 May 2016 04:53:31 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: by freefall.freebsd.org (Postfix, from userid 1060) id 68C4C1344; Sat, 28 May 2016 04:53:31 +0000 (UTC) Date: Sat, 28 May 2016 04:53:31 +0000 From: Craig Rodrigues To: Bryan Drewery Cc: freebsd-current@freebsd.org Subject: Re: [CFT] WITH_META_MODE: Working incremental build Message-ID: <20160528045331.GA51029@FreeBSD.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Sat, 28 May 2016 04:53:31 -0000 On Fri, May 27, 2016 at 05:16:25PM -0700, Bryan Drewery wrote: > The way that "meta mode" works is to enable the bmake "meta mode" > feature that tracks the build command for each target and uses the > filemon(4) [1] module to track all files read/written/executed for > building target. If any of these change (see src.conf(5) WITH_META_MODE > for details) then the target will be rebuilt. This means that even > changes to CFLAGS or the cross compiler will be detected and cause > rebuilds. This is quite an aggressive system but it works and removes > the need for cleaning any of the tree. In this mode .depend.* files > (WITH_FAST_DEPEND) are not generated since they are mostly redundant > with filemon(4)'s tracking. Excellent!! You sent out this mail, nearly seven years to the day when John Birrell originally committed this code to FreeBSD: https://svnweb.freebsd.org/base?view=revision&revision=192702 It is fantastic that you and others have managed to continue with this work, stabilize it, and get it into the mainstream of FreeBSD usage. I think John would have been very happy with what you have achieved, since he was always focused on pushing this work into FreeBSD, rather than keeping it locked inside a single company as a proprietary solution. -- Craig