Building is slow!
Ivan Trombley
itrombley at dot-borg.org
Sun Dec 3 00:18:45 UTC 2017
On Saturday, 2 December 2017 at 23:26:20 UTC, Ivan Trombley wrote:
> On Saturday, 2 December 2017 at 14:34:58 UTC, Arek wrote:
>> You can try `dub build --build-mode=single-file --parallel`.
>> It will execute separate instance of compiler for each source
>> file. If --parallel is given, dub will launch several
>> instances of dmd in parallel.
>
> I get the error:
> Error processing arguments: BuildMode does not have a member
> named 'single-file'
--build-mode=singleFile seems to work. This shaved off 1/3 of the
time to compile gtk-d in release mode on Linux, so I'm going to
give this a try on Windows.
More information about the Digitalmars-d
mailing list