Re: Add .NOTPARALLEL to contrib/Makefile - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Add .NOTPARALLEL to contrib/Makefile
Date
Msg-id 20140828111920.GC17329@awork2.anarazel.de
Whole thread Raw
In response to Re: Add .NOTPARALLEL to contrib/Makefile  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On 2014-08-26 23:56:10 -0400, Peter Eisentraut wrote:
> On Tue, 2014-08-26 at 02:05 +0200, Andres Freund wrote:
> > Currently running "make -j16 all check" in contrib/ results in a mess
> > because
> > all pg_regress invocations fight over the same port. Adding a simple
> > .NOTPARALLEL: check-%-recurse
> > into contrib/Makefile fixes that. Do we want that?
> 
> But that causes also the "all" to be run in not-parallel, because the
> meaning of .NOTPARALLEL is:
> 
>      If `.NOTPARALLEL' is mentioned as a target, then this invocation of
>      `make' will be run serially, even if the `-j' option is given.

Argh. There goes that.

> It does not mean, as you appear to imagine, to run only the listed
> prerequisites in not-parallel.  That would be nice!

Yea.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: v4 protocol TODO item - Lazy fetch/stream of TOASTed values?
Next
From: Andres Freund
Date:
Subject: Re: [Fwd: Re: proposal: new long psql parameter --on-error-stop]