help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: suddenly, "recursive make considered harmful" makes piles of sense


From: Boris Kolpackov
Subject: Re: suddenly, "recursive make considered harmful" makes piles of sense
Date: Wed, 19 Jan 2005 11:03:29 -0600
User-agent: Mutt/1.5.6i

Paul D. Smith <address@hidden> writes:

> %% Boris Kolpackov <address@hidden> writes:
>
> >> There is also a third "philosophy": gmake within any directory will
> >> build that directory and all its dependencies and any subdirectories
> >> and all their dependencies.
>
> One disadvantage to this method is that in order for it to work every
> time you run make it has to read ALL the makefiles.  I work on some
> projects where there are 800+ directories each with a makefile in it,
> and the read-in of all the makefiles for non-recursive builds takes a
> considerable amount of time and memory.

Interesting. I did some tests* and the "responsiveness" of make was quite
good. I didn't have anything near 800 directories, however.

Have you tried to profile this? I believe opening and reading 800 file
on a modern UNIX system is not a big deal per se.

thanks,
-boris

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]