[testsuite] Better parallelize make check-gcc
Janis Johnson
janis187@us.ibm.com
Mon Mar 8 18:31:00 GMT 2010
On Sat, 2010-03-06 at 21:26 +0100, Jakub Jelinek wrote:
> Hi!
>
> I've noticed recently that in 4.5 testsuite/gcc job takes far more
> than testsuite/gcc{1,2,3,4,5} jobs and is in make -j48 -k check
> always what the whole regtest waits for for several minutes.
> The following patch separates dg-torture.exp and binutils.exp out of it,
> which is roughly half of the time spent in it.
>
> Regtested on x86_64-linux and i686-linux, make check was faster by almost 10
> minutes and the number of tests didn't change. Ok for trunk?
Yes, thank you!
Janis
> 2010-03-06 Jakub Jelinek <jakub@redhat.com>
>
> * Makefile.in (check_gcc_parallelize): Run dg-torture.exp and
> builtins.exp in a separate job.
>
> --- gcc/Makefile.in.jj 2010-03-06 11:19:52.000000000 +0100
> +++ gcc/Makefile.in 2010-03-06 11:21:20.000000000 +0100
> @@ -495,6 +495,7 @@ lang_checks_parallelized=check-gcc
> check_gcc_parallelize=execute.exp=execute/2* \
> execute.exp=execute/\[013-9a-zA-Z\]* \
> compile.exp dg.exp \
> + dg-torture.exp,builtins.exp \
> struct-layout-1.exp,unsorted.exp,stackalign.exp,i386.exp
> lang_opt_files=@lang_opt_files@ $(srcdir)/c.opt $(srcdir)/common.opt
> lang_specs_files=@lang_specs_files@
>
> Jakub
More information about the Gcc-patches
mailing list