distcc for distributed compiling in a network cluster
distcc is a program to distribute builds of C, C++, Objective C or Objective C++ code across several machines on a network to speed up building. It should always generate the same results as a local build, is simple to install and use, and is usually much faster than a local compile. Further, one can use it together with native Arch build tool makepkg.
perhaps is Icecream more modern then distcc but it need import dependencies https://github.com/icecc/icecream/blob/master/README.md