This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite] Better parallelize make check-gcc
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 08 Mar 2010 10:18:04 -0800
- Subject: Re: [testsuite] Better parallelize make check-gcc
- References: <20100306202657.GZ2817@tyan-ft48-01.lab.bos.redhat.com>
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