DIP 11: trial partial implementation
Nick Sabalausky
a at a.a
Sun Jun 19 11:31:44 PDT 2011
"Jacob Carlborg" <doob at me.com> wrote in message
news:itkp2l$1ru0$1 at digitalmars.com...
> On 2011-06-19 02:10, Adam D. Ruppe wrote:
>> http://arsdnet.net/dcode/build2.d
>>
>> * Be fast. It loops dmd like my old build.d. (I can't find a better
>> way to do it. Even rdmd always runs dmd at least twice - check
>> its source!)
>
> That shouldn't be necessary.
>
> First run:
>
> * Run the compiler once with the -deps flag to collect the dependencies
> * Run the compiler again to compile everything
> * Cache dependencies
>
> Later runs:
>
> * Run the compiler once with the -deps flag and compile everything
Using the -deps flag to *just* get the deps is very fast. Much faster than a
full compile.
> * If the dependencies have change run the compiler again
> * Re-cache the dependencies if necessary
>
More information about the Digitalmars-d
mailing list