Building is slow!

Ivan Trombley itrombley at dot-borg.org
Sat Dec 2 23:26:20 UTC 2017


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'


On Saturday, 2 December 2017 at 22:54:56 UTC, Indigo wrote:
> I haven't tried gtkd in a while but when I did it built in 
> seconds... I was not using dub though but the build script that 
> comes with it.

My project has
   "dependencies": {
     "gtk-d": "3.7.2"
   }

To build release, it takes more than three minutes to build gtk-d 
on Linux (Ryzen 7 1700 processor).



More information about the Digitalmars-d mailing list