- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit99396e6
committed
Fix regression test parallel-make hazard.
Back-patch 9.4-era commit384f933 intothe previous branches. Although that was only advertised as repairing aproblem with missed header-file dependencies, it turns out to also beimportant for parallel make safety. The previous coding allowed twoindependent make jobs to get launched concurrently in contrib/spi.Normally this would be OK, because they are building independent targets;but if --enable-depend is in use, it's unsafe, because one make run mighttry to read a .deps file that the other one is in process of rewriting.This is evidently the cause of buildfarm member francolin's recent failurein the 9.2 branch. I believe this patch will result in only one subsidiarymake run, making it safe(r).Report:http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=francolin&dt=2016-08-12%2017%3A12%3A521 parent74ffae9 commit99396e6
1 file changed
+11
-6
lines changedLines changed: 11 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
119 |
| - | |
120 |
| - | |
| 119 | + | |
121 | 120 |
| |
122 |
| - | |
123 |
| - | |
| 121 | + | |
124 | 122 |
| |
125 |
| - | |
126 |
| - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
127 | 132 |
| |
128 | 133 |
| |
129 | 134 |
| |
|
0 commit comments
Comments
(0)