Compile-time

Although compile-time is a good excuse for leaning back a while I am mostly annoyed by it..

But what affects the compile the most? CPU (Cores/Speed)? Disk-speed?

Or is it just bottlenecked by old code that makes up the compiler?