Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2001 00:15:41 -0000 (GMT)
From:      Duncan Barclay <dmlb@dmlb.org>
To:        Wes Peters <wes@softweyr.com>
Cc:        freebsd-hackers@FreeBSD.ORG, Russell L.Carter <rcarter@pinyon.org>
Subject:   Re: Clustering FreeBSD
Message-ID:  <XFMail.010121001541.dmlb@computer.my.domain>
In-Reply-To: <3A693255.56934523@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 20-Jan-01 Wes Peters wrote:
> "Russell L. Carter" wrote:

<details snipped>

>> %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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010121001541.dmlb>