If you had a month to improve gcc build parallelization, where would you begin?

David Fang fang@csl.cornell.edu
Wed Apr 3 21:56:00 GMT 2013


Apart from parallelism, I wished the stage 2,3 compilations had a hook for 
ccache-ing to accelerate rebuilds.  ccache is capable of detecting changes 
in the compiler binary (see CCACHE_COMPILERCHECK in man page) so when 
stage 1's result doesn't change, there's potential for cache-hitting in 
stage 2.  I've done this with clang manual bootstraps, for example.

Fang

-- 
David Fang
http://www.csl.cornell.edu/~fang/



More information about the Gcc mailing list