tech-toolchain archive

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

Re: make: enhancements?

On Sat, Apr 24, 2010 at 04:47:52AM +0000, David Holland wrote:
 > On Mon, Apr 05, 2010 at 12:01:38PM -0700, Simon Gerraty wrote:
 > > .NOTPARALLEL:  put make into compat mode, since maxJobs=1 is insufficient
 > >           to fix missing dependencies.
 > I'm not convinced this is desirable, BTW.

then in a later post,

 > > I've dropped the change to .NOTPARALLEL since I know
 > > at least dh didn't like that, and it can be achieved other ways.

I missed that part and apparently misread the sources earlier today
while looking for uses of "compatMake". :-/

 > I know it runs totally
 > different code in compat mode (this is something that should probably
 > be cleaned up) but even so, shouldn't it end up with the same tree
 > order with one job? It has to process sources left-to-right or .WAIT
 > won't work, and that ordering constraint is all that traditional make
 > ever offered.
 > Do you have an example of a makefile that induces different behavior
 > in the two cases, and that works predictably in legacy makes, i.e.
 > isn't just flatly broken?

However, this question stands... it would be good to figure out
exactly what it is and isn't doing with -j1. :-/

David A. Holland

Home | Main Index | Thread Index | Old Index