From owner-freebsd-arch@freebsd.org Fri Dec 11 06:44:25 2015 Return-Path: Delivered-To: freebsd-arch@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 C15F89D5A32 for ; Fri, 11 Dec 2015 06:44:25 +0000 (UTC) (envelope-from julian@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 B1BFE12E5 for ; Fri, 11 Dec 2015 06:44:25 +0000 (UTC) (envelope-from julian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id ABC669D5A2F; Fri, 11 Dec 2015 06:44:25 +0000 (UTC) Delivered-To: arch@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 AB4579D5A2D; Fri, 11 Dec 2015 06:44:25 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (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 8B71E12E1; Fri, 11 Dec 2015 06:44:25 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-242-164.lns20.per4.internode.on.net [121.45.242.164]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id tBB6iDgs059838 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 10 Dec 2015 22:44:17 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: My build work and goals To: Bryan Drewery , arch@FreeBSD.org, current@FreeBSD.org References: <5669D8E9.8060000@FreeBSD.org> From: Julian Elischer Message-ID: <566A70B8.3060609@freebsd.org> Date: Fri, 11 Dec 2015 14:44:08 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <5669D8E9.8060000@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Dec 2015 06:44:25 -0000 On 11/12/2015 3:56 AM, Bryan Drewery wrote: > I think it is fair to > say that most people don't understand how any of this works. [...] > - No one really was trying to improve it head-on and focused on > FreeBSD's general audience needs. > The maintenance problems come down to expertise. Most developers are > not experts in the build and don't have time or interest to become so. These three points are all pretty much the same thing. I agree that it definitely needs to have a fairy godfather. > > > Some improvements I have made recently: > - WITH_FAST_DEPEND: Replacing the antiquated 'make depend'/'mkdep' with > compiler dependency flags to generate the .depend files as a side-effect > of compiling. This saves tremendous time in buildworld and buildkernel. Mach used to have this through their entire (bsd 4.3) tree. I forget how they bootstrapped it. Gcc would generate added dep files which were included into the static files. Without the dep files, every thing was assumed to be dirty. The new dep files only kicked in on the second build. It worked very very well. > > > > >