4 ms·
500kloc here! Produces a 200MB binary in debug, 8MB in release. We managed to get it down under about 15 minutes for the most common platform by using concaten
by pjc50 10y ago
500kloc here! Produces a 200MB binary in debug, 8MB in release.
We managed to get it down under about 15 minutes for the most common platform by using concatenation builds. It's much much faster to build half a dozen files than a thousand.
At a previous employer we were up to 1.25mloc by the time I left and we had a different solution: ccache+distcc distributing the build across a room full of computers. Few files took longer than 5m to build all by themselves, and the link phase also took about 5m.
(Splitting up large C++ projects that have grown organically is really hard. It requires re-architecting and commitment to spend time on this technical debt.)