forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3b8f6e7
committed
Fix partial-build problems introduced by having more generated headers.
Commit372728b created some problems for usages like building asubdirectory without having first done "make all" at the top level,or for proceeding directly to "make install" without "make all".The only reasonably clean way to fix this seems to be to force thesubmake-generated-headers rule to fire in *any* "make all" or "makeinstall" command anywhere in the tree. To avoid lots of redundant work,as well as parallel make jobs possibly clobbering each others' output, westill need to be sure that the rule fires only once in a recursive build.For that, adopt the same MAKELEVEL hack previously used for "temp-install".But try to document it a bit better.The submake-errcodes mechanism previously used in src/port/ and src/common/is subsumed by this, so we can get rid of those special cases. It wasinadequate for src/common/ anyway after the aforesaid commit, and it alwaysrisked parallel attempts to build errcodes.h.Discussion:https://postgr.es/m/E1f5FAB-0006LU-MB@gemulon.postgresql.org1 parent468abb8 commit3b8f6e7
File tree
10 files changed
+36
-42
lines changed- doc/src/sgml
- src
- backend
- jit/llvm
- common
- pl/plpython
- port
- test
- modules
- regress
10 files changed
+36
-42
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
| 21 | + | |
20 | 22 |
| |
21 | 23 |
| |
22 | 24 |
| |
|
Lines changed: 0 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 | 44 |
| |
50 | 45 |
| |
51 | 46 |
| |
|
Lines changed: 33 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
348 | 348 |
| |
349 | 349 |
| |
350 | 350 |
| |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
351 | 374 |
| |
352 | 375 |
| |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
353 | 380 |
| |
354 | 381 |
| |
355 | 382 |
| |
| 383 | + | |
356 | 384 |
| |
357 | 385 |
| |
358 | 386 |
| |
| |||
544 | 572 |
| |
545 | 573 |
| |
546 | 574 |
| |
547 |
| - | |
548 |
| - | |
549 |
| - | |
550 |
| - | |
| 575 | + | |
551 | 576 |
| |
552 | 577 |
| |
553 | 578 |
| |
| |||
782 | 807 |
| |
783 | 808 |
| |
784 | 809 |
| |
785 |
| - | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
786 | 813 |
| |
787 | 814 |
| |
788 | 815 |
| |
| |||
793 | 820 |
| |
794 | 821 |
| |
795 | 822 |
| |
796 |
| - | |
| 823 | + | |
797 | 824 |
| |
798 | 825 |
| |
799 | 826 |
| |
|
Lines changed: 0 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 | 114 |
| |
123 | 115 |
| |
124 | 116 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 | 30 |
| |
32 | 31 |
| |
33 | 32 |
| |
|
Lines changed: 0 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 | 91 |
| |
99 | 92 |
| |
100 | 93 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 | 102 |
| |
106 | 103 |
| |
107 | 104 |
| |
|
Lines changed: 0 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 | 90 |
| |
98 | 91 |
| |
99 | 92 |
| |
|
Lines changed: 0 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
24 |
| - | |
25 | 23 |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
69 |
| - | |
70 | 68 |
| |
71 | 69 |
| |
72 | 70 |
| |
| |||
107 | 105 |
| |
108 | 106 |
| |
109 | 107 |
| |
110 |
| - | |
| 108 | + | |
111 | 109 |
| |
112 | 110 |
| |
113 | 111 |
| |
|
0 commit comments
Comments
(0)