This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to gcc_update to include revision number in LAST_UPDATED
"Giovanni Bajo" <giovannibajo@libero.it> writes:
> svnversion appears to be very slow in fact. I'm not sure why: the following is
> sufficient to tell whether we need the "M" or not:
>
> [ `svn stat -q | sed '/^$/,$d' | wc -l` = "0"] || echo "M"
>
> Or something (i'm no shell freak). I'm confident we can still put that 'M' in
> less than 30 seconds.
On my laptop svnversion takes 4m4s, and svn stat -q takes 3m47s.
Admittedly my laptop is old, but it's my main development system.
I tend to agree that gcc_update should not run either. Getting the
information is simply not worth the time.
Ian