On Wednesday, 8 January 2020 at 04:40:02 UTC, Guillaume Lathoud wrote:
Hello,

One of my D applications grew from a simple main and a few source
files to more than 200 files. Although I minimized usage of
templating and CTFE, the compiling time is now about a minute.

I did not find any solution to take advantage of having multiple
cores during compilation, lest I would write a makefile, or split
the code into multiple packages and use a package manager.

(If I missed such a possibility, feel free to write it here.)

yeah there's one. DUB does the same as you script with the following options:

  dub build --parallel --build-mode=singleFile

Reply via email to