bug-make
[Top][All Lists]
Advanced

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

Re: New feature: Post-requisites


From: Paul Smith
Subject: Re: New feature: Post-requisites
Date: Sun, 31 Jul 2022 08:36:59 -0400
User-agent: Evolution 3.44.3 (by Flathub.org)

On Sun, 2022-07-31 at 11:45 +0200, Alejandro Colomar (man-pages) wrote:
> > If some new post-requisite "baz" was found while building either
> > "foo" or "bar", it would be built after those and be as if the user
> > had invoked "make foo bar baz".
> 
> What if one runs `make -j foo foo2` and both foo and foo2 have a 
> post-requisite of bar?  `make -j foo foo2 bar` doesn't guarantee that
> bar will be started after foo2 ends, but this feature would need such
> a guarantee.

Well, what I was really thinking was that the postrequisites would go
into their own list.  So the set of "current" goals would be in one
list and the postrequisites would be added to a new list.  Once all the
current goals were completed, then make would start working on the new
list, and any further postrequisites would be added to a new new list.
Etc. until the "new list" was empty (no more postrequisites were added
during the last set of builds).



reply via email to

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