dub : multiple dmd instances

weaselcat via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 11 07:07:08 PDT 2015


On Thursday, 11 June 2015 at 14:01:12 UTC, Temtaime wrote:
> Hi all !
> I wonder why there's no option to tell dub split files into 
> groups of equal size and then run N instances of dmd ?
> I think it can greatly reduce compile time.

dub options are a bit hidden.

dub build --help

      --build-mode=VALUE
                         Specifies the way the compiler and linker 
are invoked.
                         Valid values:
                         separate (default), allAtOnce, singleFile


       --parallel        Runs multiple compiler instances in 
parallel, if
                         possible.


More information about the Digitalmars-d mailing list