From: Joel Brobecker <brobecker@adacore.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: RFC: parallelize "make check"
Date: Thu, 25 Jun 2009 14:55:00 -0000 [thread overview]
Message-ID: <20090625145537.GJ7766@adacore.com> (raw)
In-Reply-To: <m34ou5ig9e.fsf@fleche.redhat.com>
Hi Tom,
> 2009-06-24 Tom Tromey <tromey@redhat.com>
>
> * dg-extract-results.sh: New file.
> * Makefile.in (FORCE_PARALLEL): New variable.
> (CHECK_TARGET): New conditional variable.
> (check): Use CHECK_TARGET.
> (DO_RUNTEST): New variable.
> (check-single): New target.
> (TEST_DIRS): New variable.
> (TEST_TARGETS): Likewise.
> (check-parallel): New target.
> (check-gdb.%): New pattern.
> (BASE1_FILES): New variable.
> (BASE2_FILES): Likewise.
> (check-gdb.base%): New pattern.
> (%/.dir): New pattern.
> * configure: Rebuild.
> * aclocal.m4 (AM_CONDITIONAL): New defun.
> * configure.ac: Check whether user is using GNU make.
> (GMAKE): New conditional.
This looks awesome. If I understand your patch correctly,
parallelization is active by default when one does "make -j6 check"
as you split the "check" target into multiple sub targets.
If one does a regular "make check" without the -j, then the sub
targets will simply be run in sequence.
Thanks for doing this. At this rate, I don't think you'll be able
to remain sober at the next GCC Summit :). (Editor's note: Daniel
and now myself promised Tom a drink for various very useful patches
that he wrote).
--
Joel
next prev parent reply other threads:[~2009-06-25 14:55 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-24 19:27 Tom Tromey
2009-06-25 3:15 ` Eli Zaretskii
2009-06-25 20:21 ` Tom Tromey
2009-06-26 6:53 ` Eli Zaretskii
2009-06-26 15:56 ` Tom Tromey
2009-06-27 9:13 ` Eli Zaretskii
2009-06-25 14:55 ` Joel Brobecker [this message]
2009-06-25 15:09 ` Tom Tromey
2009-06-25 22:58 ` Pedro Alves
2009-06-26 1:34 ` Daniel Jacobowitz
2009-06-26 17:45 ` Tom Tromey
2009-06-26 20:27 ` Joseph S. Myers
2009-06-26 23:41 ` Joel Brobecker
2009-06-29 16:43 ` Tom Tromey
2009-06-29 16:57 ` Daniel Jacobowitz
2009-06-29 18:05 ` Tom Tromey
2009-06-29 18:38 ` Daniel Jacobowitz
2009-06-29 21:17 ` Jan Kratochvil
2009-07-01 12:06 ` [patch] testsuite: Fix multiple runs in parallel on a single host [Re: RFC: parallelize "make check"] Jan Kratochvil
2009-07-06 18:39 ` Tom Tromey
2009-07-06 18:53 ` [patch] testsuite: Fix multiple runs in parallel on a single host Jan Kratochvil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090625145537.GJ7766@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox