Commit 7253a9f
committed
fix(build): the scan's
拆分调度下这两者必须分开,我让它们共用了 `$compile_target`:
扫描边于是去写 `gcm.cache/<mod>.gcm`,而那个目录此时还不存在 ——
cc1plus: fatal error: opening output file gcm.cache/fx.unit_19.gcm:
No such file or directory
**在 mcpp 自己的仓库上它没暴露**,因为 gcm.cache 早被上一次构建建好了;
换一个全新工程(bench 的 fixture)立刻失败。这正是"只在开发它的那个工程上验过"
会漏掉的东西 —— 也是要有独立对照组的理由。
`-o` 回到目标文件,`-fdeps-target` 单独走 `$deps_target`(拆分时指向 BMI,
让 dyndep 绑到 BMI 边)。-o and -fdeps-target are different under the split shape1 parent 1b9e67e commit 7253a9f
1 file changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
972 | 972 | | |
973 | 973 | | |
974 | 974 | | |
975 | | - | |
| 975 | + | |
976 | 976 | | |
977 | 977 | | |
978 | 978 | | |
| |||
1200 | 1200 | | |
1201 | 1201 | | |
1202 | 1202 | | |
1203 | | - | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
1207 | 1215 | | |
1208 | 1216 | | |
1209 | 1217 | | |
| |||
0 commit comments