The old-school approach to this was "distcc". At the company where we used it for C++ we had a small compile farm and usually did "make -j 50".
That's great for super large builds, but the point of this is to deal with "I have one file I want to compile which is taking 30 seconds to compile, and I only have like three files to compile, so it would be awesome if I could use all of the cores on my laptop to do this compile and get it down to 10 seconds or something".
Older versions of Stan on GCC 4.8 would take 60+ seconds to compile a single C++ file.