DIP11: Automatic downloading of libraries

Nick Sabalausky a at a.a
Tue Jun 14 18:44:08 PDT 2011


"Adam D. Ruppe" <destructionator at gmail.com> wrote in message 
news:it91b0$aa0$1 at digitalmars.com...
> Nick Sabalausky wrote:
>> Just one extra deps-gathering invokation each time a
>> deps-gathering invokation finds unsatisfied depenencies, and *only*
>> the first time you build.
>
> It could probably cache the last successful command...

Nothing would need to be cached. After the initial "gather everything and 
build" build, all it would ever have to do is exactly what RDMD already does 
right now: Run DMD once to find the deps, check them to see if anything 
needs rebuilt, and if so, run DMD the second time to build. There'd never be 
any need for more than those two invokations (and the first one tends to be 
much faster anyway) until a new library dependency is introduced.




More information about the Digitalmars-d mailing list