DUB: Multiprocess?
Ivan Trombley via Digitalmars-d
digitalmars-d at puremagic.com
Sun May 14 14:41:58 PDT 2017
On Sunday, 14 May 2017 at 21:01:37 UTC, Basile B. wrote:
> 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.
I tried that and only one processor is used. The rest are idle.
More information about the Digitalmars-d
mailing list