delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/21/06:25:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: RE: OT: possible project/research project
Date: Thu, 21 Mar 2002 22:19:37 +1100
MIME-Version: 1.0
Message-ID: <FC169E059D1A0442A04C40F86D9BA76062E3@itdomain003.itdomain.net.au>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Jesper Eskilson" <jojo AT virtutech DOT se>, <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g2LBPWn27927


> -----Original Message-----
> From: Jesper Eskilson [mailto:jojo AT virtutech DOT se] 
> Sent: Thursday, March 21, 2002 4:52 PM
> To: cygwin AT cygwin DOT com
> Subject: Re: OT: possible project/research project
> 
> 
> "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net> writes:
> 
> > # Why should this...:
> > rm //a/bunch/of/files/out/on/a/super/slow/server/*
> > # ...block this:
> > gcc hello.c
> > 
> > Obviously you're never going to be able to take advatage of all 
> > non-dependencies, but as a wise man once told me, "you can't win if 
> > you don't enter".
> 
> make -j?

make -j serialises at directory borders (at a minimum).
You might like to review the 'recursive make considered harmful' paper
(if you haven't already). 

such an approach allows hugely decreased make times in the general case,
by reducing
forks()
dependency recalculations
increased parallelism (partly by reduced serialisation of
non-dependencies).

I routinely do this with automake - I have One, or at most 3
Makefile.am's for projects, even quite large ones, and make -j3 just
flies along, even with lots and lots of little modular directories and
dependencies turned on.

Rob

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019