DUB: Multiprocess?

Basile B. via Digitalmars-d digitalmars-d at puremagic.com
Sun May 14 14:01:37 PDT 2017


On Sunday, 14 May 2017 at 20:23:17 UTC, Ivan Trombley wrote:
> When I build C++ projects using make, I can specify how many 
> processes I want to use (-j). This keeps the processors full 
> and happy and greatly reduces the overall build time. Does DUB 
> have a similar way of compiling each file in it's own process 
> or thread?

There's the "--parallel" switch for that. Example

> dub build --build=release --parallel

It's in the documentation.


More information about the Digitalmars-d mailing list