Distcc adventures: Distributed cross-compiling with macOS and Windows/Linux
This post was originally written on April 20, and it uses LLVM 11.1
Recently I've had a sudden urge to do some distributed compilation to speed up the compilation times for my compact Vulkan engine (which is written in C++). It's not a big codebase by any means, but mostly being on an 8 year old MacBook (it's comfy), I thought it'd be nice to leverage the computational power of my Windows PC, which usually just plays some jazz or lo-fi streams in the background.
However, this innocent adventure turned into a slightly arduous journey. So I decided to turn this experience into a quick guide.