mirror of
https://github.com/postgres/postgres.git
synced 2026-06-08 16:44:07 -04:00
1fc698cf14
This is to see if it will stop intermittent build failures on buildfarm member okapi. We know that gmake 3.82 has some problems with sometimes not honoring dependencies in parallel builds, and it seems likely that this is more of the same. Since the vast bulk of the work in the preproc directory 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 in interfaces/ecpg/Makefile be conditional on "ifeq ($(MAKE_VERSION),3.82)". The known bug in gmake is fixed upstream and should not be present in 3.83 and up, and there's no reason to think it affects older releases.
31 lines
1.1 KiB
Makefile
31 lines
1.1 KiB
Makefile
subdir = src/interfaces/ecpg
|
|
top_builddir = ../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
SUBDIRS = include pgtypeslib ecpglib compatlib preproc
|
|
|
|
# Suppress parallel build of subdirectories to avoid a bug in gmake 3.82, cf
|
|
# http://savannah.gnu.org/bugs/?30653
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=835424
|
|
# (There are some other parallelism bugs in the subdirectory makefiles
|
|
# themselves, but there's little point in fixing them as long as we have
|
|
# to use this big hammer.)
|
|
ifeq ($(MAKE_VERSION),3.82)
|
|
.NOTPARALLEL:
|
|
endif
|
|
|
|
$(recurse)
|
|
|
|
all-pgtypeslib-recurse all-ecpglib-recurse all-compatlib-recurse all-preproc-recurse: all-include-recurse
|
|
all-compatlib-recurse: all-ecpglib-recurse
|
|
all-ecpglib-recurse: all-pgtypeslib-recurse
|
|
install-pgtypeslib-recurse install-ecpglib-recurse install-compatlib-recurse install-preproc-recurse: install-include-recurse
|
|
install-compatlib-recurse: install-ecpglib-recurse
|
|
install-ecpglib-recurse: install-pgtypeslib-recurse
|
|
|
|
clean distclean maintainer-clean:
|
|
$(MAKE) -C test clean
|
|
|
|
check checktcp installcheck: all
|
|
$(MAKE) -C test $@
|