Hacker News new | ask | show | jobs
by witcher_rat 1464 days ago
If you use Ninja, you can create a job pool for linking, separate from compiling, and restrict how many simultaneous linker jobs are run. You can even create and set job pools for Ninja through CMake, if you use that in your tooling.

Unfortunately GNU Make offers no such mechanism. And for Ninja build generation I don't think Meson does it either.

1 comments

I was not aware of this feature and we do use CMake. Thank you for letting me know about it!