pgsql: Fix parallel make risk with new check temp-install setup

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix parallel make risk with new check temp-install setup
Date: 2015-04-30 00:54:47
Message-ID: E1YnckZ-0004yk-D1@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix parallel make risk with new check temp-install setup

The "check" target no longer needs to depend on "all", because it now
runs "install" directly, which in turn depends on "all". Doing both
will cause problems with parallel make, because two builds will run next
to each other.

Also remove the redirection of the temp-install output into a log file.
This was appropriate when this was done from within pg_regress, but now
it's just a regular make run, and especially with the above changes this
will now take the place of running the "all" target before the test
suites.

problem report by Jeff Janes, patch in part by Michael Paquier

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/dbf2ec1a1c053379e2f9a5913979a1ca4dccbd43

Modified Files
--------------
GNUmakefile.in | 2 --
contrib/test_decoding/Makefile | 4 ++--
src/Makefile.global.in | 5 ++---
src/bin/initdb/Makefile | 2 +-
src/bin/pg_basebackup/Makefile | 2 +-
src/bin/pg_config/Makefile | 2 +-
src/bin/pg_controldata/Makefile | 2 +-
src/bin/pg_ctl/Makefile | 2 +-
src/bin/scripts/Makefile | 2 +-
src/interfaces/ecpg/Makefile | 2 +-
src/makefiles/pgxs.mk | 2 +-
src/pl/plperl/GNUmakefile | 2 +-
src/pl/plpython/Makefile | 2 +-
src/pl/tcl/Makefile | 2 +-
14 files changed, 15 insertions(+), 18 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2015-04-30 02:22:35 Re: pgsql: Correct replication origin's use of UINT16_MAX to PG_UINT16_MAX.
Previous Message Andres Freund 2015-04-29 22:26:34 Re: pgsql: Introduce replication progress tracking infrastructure.