Commit 96cfdd7
committed
fix(ci): disable sccache on the dockcross/Linux-host builds (sccache crashed in-container)
The phase-2 cross-compile caching broke the dockcross builds: inside the manylinux
container the fetched sccache panicked while wrapping the cross-compiler (log: a Rust
backtrace + "Run with SCCACHE_LOG=debug", failing ggml.c.o), and because sccache is the
compiler launcher that fails the whole build. The build.sh "inert-safe" guard only covers
sccache being *absent*, not present-but-crashing.
Remove the sccache env from the 4 dockcross jobs (manylinux_2_28 CUDA, manylinux2014,
Linux aarch64, Android aarch64) and the Linux-host C++ test job. With no token reaching
those jobs, build.sh skips the fetch and they compile normally (uncached, green) again.
macOS caching (phase 1) is unaffected and stays — it uses native clang + brew sccache and
is proven working/fast. The build.sh fetch logic remains but is dormant without a token.
Dockcross caching is deferred: it needs an sccache-in-container health check (probe-compile
before trusting the launcher) and SCCACHE_LOG=debug diagnosis of the cross-compiler panic.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JdLpWD8nedY7LwNnHefZLF1 parent 5017ace commit 96cfdd7
1 file changed
Lines changed: 0 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | 174 | | |
180 | 175 | | |
181 | 176 | | |
| |||
205 | 200 | | |
206 | 201 | | |
207 | 202 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | 203 | | |
214 | 204 | | |
215 | 205 | | |
| |||
239 | 229 | | |
240 | 230 | | |
241 | 231 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | 232 | | |
248 | 233 | | |
249 | 234 | | |
| |||
273 | 258 | | |
274 | 259 | | |
275 | 260 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | 261 | | |
282 | 262 | | |
283 | 263 | | |
| |||
494 | 474 | | |
495 | 475 | | |
496 | 476 | | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | 477 | | |
502 | 478 | | |
503 | 479 | | |
| |||
0 commit comments