Skip to content

Commit 1876ef1

Browse files
committed
Document Depot/sccache cache as jllama-only in cross-repo scope
Add a 'Cross-repo scope' note to the CI build cache section explaining the sccache+Depot compiler cache benefits only this repo's native build, and link the workspace crossrepostatus.md non-parity entry. No build/CI behaviour change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LjWiKSyNzqqpobSKYRiew5
1 parent 0b54f5f commit 1876ef1

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,17 @@ container), the Windows jobs (sccache supports MSVC), and the Linux-host `test-c
206206
extend a job: install `sccache`, set the two `SCCACHE_WEBDAV_*` env vars, and (for
207207
RAM-limited runners) `BUILD_JOBS`.
208208

209+
**Cross-repo scope — this is java-llama.cpp-only by nature.** `sccache` caches *compiler*
210+
output (C/C++/Rust/CUDA), and jllama is the only sibling repo with a native (C++/JNI) build,
211+
so it is the only one that benefits. The pure-Maven siblings (BitcoinAddressFinder,
212+
streambuffer, llamacpp-ai-index-maven-plugin) have no C/C++ to cache, run on **GitHub-hosted**
213+
runners (Depot's *GitHub Actions* cache backend activates only on **Depot-hosted** runners),
214+
and already cache their Maven dependencies via `actions/setup-java`'s `cache: maven`. The
215+
`DEPOT_TOKEN` organization secret is present in every repo but is **inert** outside jllama, and
216+
the README "Build cache by Depot" badge is intentionally kept here only — advertising it on the
217+
Maven repos would claim a capability they do not have. Recorded as deliberate non-parity in
218+
[`../workspace/crossrepostatus.md`](../workspace/crossrepostatus.md).
219+
209220
## Upgrading/Downgrading llama.cpp Version
210221

211222
To change the llama.cpp version, update the following **three** files:

0 commit comments

Comments
 (0)