Programming Windows D Examples are now Online!
Robert Clipsham
robert at octarineparrot.com
Tue Jun 21 14:56:02 PDT 2011
On 21/06/2011 22:24, Andrej Mitrovic wrote:
> Walter, would it be possible to make .map file generation follow the
> -od flag? It's odd when a build script fills a directory with map
> files while executables and object files are properly in their own
> directories as specified via -od and -of flags.
>
> Btw, I have just pushed a changeset and made the build script
> parallel. I turned this:
> foreach (dir; dirs)
>
> into this:
> foreach (dir; taskPool.parallel(dirs, 1))
>
> And added other small cosmetic changes, but the above is the only real change.
>
> Here's my timings:
> Serial build: 1min, 3sec
> Parallel build: 22sec
I use D as a build script for my project too, it's awesome how easy it
is to make the build parallel, and how much compilation time it saves!
Side note: parallel() works as an alias for taskPool.parallel, saves you
some characters and looks nicer!
--
Robert
http://octarineparrot.com/
More information about the Digitalmars-d-announce
mailing list