Re: Add .NOTPARALLEL to contrib/Makefile

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Add .NOTPARALLEL to contrib/Makefile
Date: 2014-08-27 03:56:10
Message-ID: 1409111770.13799.12.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-08-27 04:03:42 Re: jsonb format is pessimal for toast compression
Previous Message Peter Geoghegan 2014-08-27 03:53:15 Re: jsonb format is pessimal for toast compression