forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit31f1f0b
committed
Put back parallel-safety guards in plpython and src/test/regress/.
I'd hoped that commit3b8f6e7 was sufficient to ensure parallel safetyeven when a build started in a subdirectory requires rebuilding ofgenerated headers. This isn't so, because making submake-generated-headersa prerequisite of "all" isn't enough to ensure it's completed beforestarting on "all"'s other prerequisites. The explicit dependencies we puton the recursive make targets ensure safe ordering before we recurse intochild directories, but they don't protect targets to be made in the currentdirectory. Hence, put back some ordering dependencies in directories thatwe've traditionally expected to be starting points for "standalone" builds,to wit src/pl/plpython and src/test/regress. (The former needs this inorder to minimize the work involved in building for both python 2 andpython 3; the latter to support packagings that make the regression testsavailable for out-of-build-tree execution.) Adjust some other dependenciesso that these two cases work correctly even at high -j settings.I'm not terribly happy with this partial solution, but I don't see away to do better without massive makefile restructuring, which we surelyaren't doing at this point in the development cycle. In any case, it'slittle if any worse than what we had in prior releases.Discussion:https://postgr.es/m/1523353963.8169.26.camel@gunduz.org1 parent15a8f8c commit31f1f0b
File tree
3 files changed
+11
-4
lines changed- src
- pl/plpython
- test/regress
3 files changed
+11
-4
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
563 | 563 |
| |
564 | 564 |
| |
565 | 565 |
| |
566 |
| - | |
| 566 | + | |
567 | 567 |
| |
568 | 568 |
| |
569 | 569 |
| |
570 |
| - | |
| 570 | + | |
571 | 571 |
| |
572 | 572 |
| |
573 | 573 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
| 102 | + | |
| 103 | + | |
| 104 | + | |
102 | 105 |
| |
103 | 106 |
| |
104 | 107 |
| |
|
Lines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 |
| - | |
| 46 | + | |
| 47 | + | |
47 | 48 |
| |
48 | 49 |
| |
49 | 50 |
| |
| |||
65 | 66 |
| |
66 | 67 |
| |
67 | 68 |
| |
| 69 | + | |
| 70 | + | |
| 71 | + | |
68 | 72 |
| |
69 | 73 |
| |
70 | 74 |
| |
| |||
105 | 109 |
| |
106 | 110 |
| |
107 | 111 |
| |
108 |
| - | |
| 112 | + | |
109 | 113 |
| |
110 | 114 |
| |
111 | 115 |
| |
|
0 commit comments
Comments
(0)