This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: improving testsuite runtime
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Joern Rennecke <joernr at arc dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, Ben Elliston <bje at au1 dot ibm dot com>, gcc at gcc dot gnu dot org
- Date: Fri, 19 Sep 2008 16:08:50 -0700
- Subject: Re: improving testsuite runtime
- References: <20080919173254.GA19841@elsdt-razorfish.arc.com>
- Reply-to: janis187 at us dot ibm dot com
On Fri, 2008-09-19 at 18:32 +0100, Joern Rennecke wrote:
> > I think 'make -j' is the way to go, since it lets the user easily
> > control the amount of parallelism.
>
> As I said before, make -j is a complete non-starter for me, as it restricts
> the paralelism to a single machine and thus would actually reduce the
> parallelism from what I have now with multilibs.
Would it work for you to have a check-init target to set up site.exp
and whatever else might be needed, a check-fini target to wrap up
the results, and multiple targets that you can invoke separately in
between those? A top-level "make check" would do the start-up stuff,
run lots of check targets in parallel, and then do the wrap-up at the
end, perhaps after running the resource hogs sequentially.
Janis