Skip site navigation (1) Skip section navigation (2)

pgsql: Use .NOTPARALLEL in ecpg/Makefile to avoid a gmake parallelismb

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use .NOTPARALLEL in ecpg/Makefile to avoid a gmake parallelismb
Date: 2012-09-09 19:09:33
Message-ID: E1TAmsv-0002t5-0M@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Use .NOTPARALLEL in ecpg/Makefile to avoid a gmake parallelism bug.

Investigation shows that some intermittent build failures in ecpg are the
result of a gmake bug that was reported quite some time ago:
http://savannah.gnu.org/bugs/?30653

Preventing parallel builds of the ecpg subdirectories seems to dodge the
bug.  Per yesterday's pgsql-hackers discussion, there are some other things
in the subdirectory makefiles that seem rather unsafe for parallel builds
too, but there's little point in fixing them as long as we have to work
around a make bug.

Back-patch to 9.1; parallel builds weren't very well supported before
that anyway.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1e214507e5b5d604ea8d8d4e7e564b673df8c8e0

Modified Files
--------------
src/interfaces/ecpg/Makefile |    8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)

pgsql-committers by date

Next:From: Tom LaneDate: 2012-09-10 00:33:39
Subject: pgsql: Make plperl safe against functions that are redefined whilerunn
Previous:From: Tom LaneDate: 2012-09-09 19:09:32
Subject: pgsql: Use .NOTPARALLEL in ecpg/Makefile to avoid a gmake parallelismb

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group