Commit 0e36010
committed
Resolve transitive package deps in fpc CI backend
TPackageGraph.BuildPackageAt built a package's -Fu search path from
its direct RequiredPkgs only. That is correct for the packages here,
but breaks once a package depends on another package whose units pull
in a third: the intermediate's transitive deps never reach -Fu.
Build the -Fu set from the transitive closure of dependency output
dirs instead, reusing the CollectUnitPaths walker the project build
path already relies on. Keeps the shared make.pas orchestrator
identical across repos.
Only the fpc backend is affected; the lazbuild backend resolves the
graph itself via --add-package-link + --recursive.1 parent e4f65a0 commit 0e36010
1 file changed
Lines changed: 23 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1205 | 1205 | | |
1206 | 1206 | | |
1207 | 1207 | | |
1208 | | - | |
1209 | | - | |
1210 | | - | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
1211 | 1212 | | |
1212 | 1213 | | |
1213 | 1214 | | |
| |||
1225 | 1226 | | |
1226 | 1227 | | |
1227 | 1228 | | |
1228 | | - | |
1229 | | - | |
1230 | | - | |
1231 | | - | |
1232 | | - | |
1233 | | - | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
1234 | 1248 | | |
1235 | 1249 | | |
1236 | 1250 | | |
| |||
0 commit comments