[patch][pr17429] Do nothing in a null build if CLANG_ALWAYS_CHECK_VC_REV is OFF
rafael.espindola at gmail.com
Tue Oct 1 07:14:21 PDT 2013
Most of the time in a null build is spent checking the svn revision
number. This is very wasteful in a regular development environment.
If I understand CLANG_ALWAYS_CHECK_VC_REV correctly, it is also the
case that the version is not even always used, so we spend time for
The attached patch moves the entire version check under
CLANG_ALWAYS_CHECK_VC_REV. On my machine that makes a null build of
bin/clang 11 times faster.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1091 bytes
Desc: not available
More information about the cfe-commits