Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit843363b

Browse files
committed
Use .NOTPARALLEL in ecpg/Makefile to avoid a gmake parallelism bug.
Investigation shows that some intermittent build failures in ecpg are theresult of a gmake bug that was reported quite some time ago:http://savannah.gnu.org/bugs/?30653Preventing parallel builds of the ecpg subdirectories seems to dodge thebug. Per yesterday's pgsql-hackers discussion, there are some other thingsin the subdirectory makefiles that seem rather unsafe for parallel buildstoo, but there's little point in fixing them as long as we have to workaround a make bug.Back-patch to 9.1; parallel builds weren't very well supported beforethat anyway.
1 parent45d1f1e commit843363b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎src/interfaces/ecpg/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ include $(top_builddir)/src/Makefile.global
44

55
SUBDIRS = include pgtypeslib ecpglib compatlib preproc
66

7+
# Suppress parallel build of subdirectories to avoid a bug in gmake 3.82, cf
8+
# http://savannah.gnu.org/bugs/?30653
9+
# https://bugzilla.redhat.com/show_bug.cgi?id=835424
10+
# (There are some other parallelism bugs in the subdirectory makefiles
11+
# themselves, but there's little point in fixing them as long as we have
12+
# to use this big hammer.)
13+
.NOTPARALLEL:
14+
715
$(recurse)
816

917
all-pgtypeslib-recurseall-ecpglib-recurseall-compatlib-recurseall-preproc-recurse: all-include-recurse

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp