Commit a0c0cb6
Use heuristic for compiler errors (#4778)
Previously when all files being compiled get stuck waiting on
something else, we would release those files in random order.
This commit changes this to release files in groups based on
the module they are waiting on. We pick the module being
depended on with less edges, as it is mostly likely being the
cause of conflict. This may not always be true though: for example,
if there is a macro injecting code into multiple modules and such
code becomes faulty, now multiple modules are waiting on
this same module.
However, we have to pick one or the other, and we
decided to pick the one with fewer dependencies.1 parent 28790df commit a0c0cb6
1 file changed
+15
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
| |||
151 | 158 | | |
152 | 159 | | |
153 | 160 | | |
154 | | - | |
| 161 | + | |
155 | 162 | | |
156 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
157 | 168 | | |
158 | 169 | | |
159 | 170 | | |
| |||
0 commit comments