dlang.org
dlang.org copied to clipboard
Run sub make evocations with -j$(nproc)
Currently building dlang.org doesn't work well with -j
due to not
fully correct specified dependencies on the target definitions.
However, there's no reson why we can't use parallelism for the
individual sub makes.
Thanks for your pull request, @wilzbach!
Bugzilla references
Your PR doesn't reference any Bugzilla issue.
If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.
~~IIRC this is the wrong way to do it, wasn't there something like MAKEFLAGS
better suited for this?~~
I'm uneasy about this. Why not fix the dependencies?
Why not fix the dependencies?
Because I don't know where they are broken. Everything works fine on my machine - even with -j50
, maybe we have already fixed this?
Hmm, how about just adding -j$(NPROC)
to the big guy - building DMD?
It would still result in faster build time as DMD builds fine with -j
.