4 ms·
> But then compiling everything seemed so wasteful in terms of CPU time and power in the end. Is there a solution to cache the build artefacts and/or share the
by rollcat 4y ago
> But then compiling everything seemed so wasteful in terms of CPU time and power in the end.
Is there a solution to cache the build artefacts and/or share them between a fleet of machines?
(inb4 nix)
- comboy 4y agoYes, distcc. But builds are a pleasure with so many cores nowadays, there's also niceness options so even on the old machines you didn't need to suffer.
- deleted 4y ago[deleted]
- nubinetwork 4y agoDistcc moves the compilation somewhere else, ccache stores the compiled outputs, and both can work together. Although I'm not entirely sure how ccache works when all your clients use different CPUs. I only use distcc.
- sagarm 4y agoI've found icecream to be a lot nicer since it handles toolchain distribution and scheduling.