Elektrine lite

← Feed

@whitequark@social.treehouse.systems

Post #1546496

2026-04-14 03:36 UTC

@dotstdy @regehr is this even a build system's job? I can see both answers being appropriate, but if "yes" then you'll have to deal with a lot of pain making a cross-platform one

Replies (3)

  • @dotstdy @regehr (personally I think I'd rather have my terminal emulator or login shell or something along those lines handle it)

    Open ##1546497

  • @dotstdy@mastodon.social 2026-04-14 03:39

    @whitequark @regehr oh yeah it's a super tricky problem, especially when your build invokes another build system. I kinda put all these problems into the same bucket, akin to https://pvk.ca/Blog/2019/02/25/the-unscalable-thread-pool/ And they're all similar in that managing oversubscription is the operator's concern.

    Open ##1546499

  • @whitequark @dotstdy @regehr ninja has a concept of "pools" for exactly this sort of thing: limiting the number of concurrent linker invocations: https://ninja-build.org/manual.html#ref_pool

    Open ##1546502