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

Commit1fc698c

Browse files
committed
Suppress parallel build in interfaces/ecpg/preproc/.
This is to see if it will stop intermittent build failures on buildfarmmember okapi. We know that gmake 3.82 has some problems with sometimesnot honoring dependencies in parallel builds, and it seems likely thatthis is more of the same. Since the vast bulk of the work in the preprocdirectory is associated with creating preproc.c and then preproc.o,parallelism buys us hardly anything here anyway.Also, make both this .NOTPARALLEL and the one previously added ininterfaces/ecpg/Makefile be conditional on "ifeq ($(MAKE_VERSION),3.82)".The known bug in gmake is fixed upstream and should not be present in3.83 and up, and there's no reason to think it affects older releases.
1 parent3c84046 commit1fc698c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

‎src/interfaces/ecpg/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ SUBDIRS = include pgtypeslib ecpglib compatlib preproc
1010
# (There are some other parallelism bugs in the subdirectory makefiles
1111
# themselves, but there's little point in fixing them as long as we have
1212
# to use this big hammer.)
13+
ifeq ($(MAKE_VERSION),3.82)
1314
.NOTPARALLEL:
15+
endif
1416

1517
$(recurse)
1618

‎src/interfaces/ecpg/preproc/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ OBJS=preproc.o type.o ecpg.o output.o parser.o \
3030
keywords.o c_keywords.o ecpg_keywords.o kwlookup.o ../ecpglib/typename.o descriptor.o variable.o\
3131
$(WIN32RES)
3232

33+
# Suppress parallel build to avoid a bug in gmake 3.82
34+
# (see comments in ../Makefile)
35+
ifeq ($(MAKE_VERSION),3.82)
36+
.NOTPARALLEL:
37+
endif
38+
3339
all: ecpg
3440

3541
ecpg:$(OBJS) | submake-libpgport

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp