From owner-freebsd-hackers Sat Jan 20 16:16: 1 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id 0D10137B400 for ; Sat, 20 Jan 2001 16:15:44 -0800 (PST) Received: from dmlb.org ([62.253.135.85]) by mta03-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010121001542.BQAZ10171.mta03-svc.ntlworld.com@dmlb.org>; Sun, 21 Jan 2001 00:15:42 +0000 Received: from dmlb by dmlb.org with local (Exim 3.03 #1) id 14K8AX-0000Vf-00; Sun, 21 Jan 2001 00:15:41 +0000 Content-Length: 2164 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3A693255.56934523@softweyr.com> Date: Sun, 21 Jan 2001 00:15:41 -0000 (GMT) From: Duncan Barclay To: Wes Peters Subject: Re: Clustering FreeBSD Cc: freebsd-hackers@FreeBSD.ORG, Russell L.Carter Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 20-Jan-01 Wes Peters wrote: > "Russell L. Carter" wrote:
>> %See the paper "Recursive Make Considered Harmful." Make is an amazing >> %tool when used correctly. >> >> That's not the problem, unfortunately. I've never had a problem >> rebuilding dependencies unnecessarily, or any of those >> other problems described. Well precompiled headers would be >> really really cool. The problem, again, is that parallelism >> is limited by the directory structure, and the directory structure >> is entirely rational. > > The directory structure has nothing to do with the Makefiles. To > obtain the goal the paper suggests, you replace the recursive > Makefiles with a single top-level Makefile that describes ALL of the > targets and ALL of the dependencies. Note that this does not require > a single mono- lithic Makefile; the top level Makefile can be a shell > that includes per-directory Makefiles. The important part is to get a > single dependency tree with no cycles in the graph. I was so impressed by the clarity in the paper and dicussions with friends that use Plan 9's "mk", that I put together "remake". This is a Makefile framework that implements the per-directory Makefiles to build the dependency tree. If anyone one wants to take a look it's at http://www.ragnet.demon.co.uk/RM/remake.html I haven't used it for a year or two and can only point to http://www.ragnet.demon.co.uk/mynews as an example of its use. If anyone gets interested drop me a line and I will try and remember how it works. Duncan > -- > "Where am I, and what am I doing in this handbasket?" > > Wes Peters Softweyr > LLC > wes@softweyr.com > http://softweyr.com/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > --- ________________________________________________________________________ Duncan Barclay | God smiles upon the little children, dmlb@dmlb.org | the alcoholics, and the permanently stoned. dmlb@freebsd.org| Steven King To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message