automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple cpu's


From: Benoit SIGOURE
Subject: Re: multiple cpu's
Date: Mon, 20 Aug 2007 17:12:01 +0200

On Aug 12, 2007, at 11:09 PM, Ralf Wildenhues wrote:

Hello Jim,

* Jim Meyering wrote on Sun, Aug 12, 2007 at 12:46:20PM CEST:

On a related note, it'd sure be nice if "make -j4 check" would run its
tests in parallel.  Especially on an SMP system, and/or when some
tests sleep for a few (interminable :-) seconds.

Of course, this might not be trivial, especially trying to keep
the resulting Makefile.in portable.  However, even if it means
I'd need to use a special option to generate a GNU-make-only
Makefile.in, I'd happily use the result for day to day work.

IIRC, Akim Demaille posted a patch a while ago on an automake list for
this, GNU make-specific.  I don't recall how much work was left to do,
but on my list it's a bit on the far end.


Yep:
http://lists.gnu.org/archive/html/automake/2007-02/msg00015.html
The whole idea is to have one input file per test (say a .chk file) that produces a .log file. We can then benefit from the parallelism of make with implicit rules (exactly like for .c -> .o).

The file has slightly evolved since then but I can post an updated version if someone is interested.

--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory


Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]