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

Commitcfad144

Browse files
committed
Additional fixes for parallel make
Add some additional dependencies to constrain the build order to preventparallel make from failing. In the case of src/Makefile, this is likely to betoo complicated to be worth maintaining, so just add .NOTPARALLEL to get theold for-loop-like behavior.More fine-tuning might be necessary for some platforms or configurations.
1 parentb7fcf68 commitcfad144

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

‎src/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ SUBDIRS = \
2626
makefiles\
2727
test/regress
2828

29+
# There are too many interdependencies between the subdirectories, so
30+
# don't attempt parallel make here.
31+
.NOTPARALLEL:
32+
2933
$(recurse)
3034

3135
install: install-local

‎src/interfaces/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ include $(top_builddir)/src/Makefile.global
1515
SUBDIRS = libpq ecpg
1616

1717
$(recurse)
18+
19+
all-ecpg-recurse: all-libpq-recurse

‎src/interfaces/ecpg/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ SUBDIRS = include pgtypeslib ecpglib compatlib preproc
66

77
$(recurse)
88

9-
all-compatlib-recursive: all-ecpglib-recursive
9+
all-compatlib-recurse: all-ecpglib-recurse
10+
all-ecpglib-recurse: all-pgtypeslib-recurse
1011

1112
cleandistcleanmaintainer-clean:
1213
$(MAKE) -Ctest clean

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp