aboutsummaryrefslogtreecommitdiff
path: root/AGENTS
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-21 11:47:17 +0000
committer_ov4 <ov4@ov4.org>2026-10-21 11:47:17 +0000
commita46e9615791d23e812d324523d87fe2320f703fd (patch)
treeac7fa9a274aac456e1103a7c7cf19de2b451664d /AGENTS
parent8740502929449912a2f76f99aed33bd2ad54e064 (diff)
ci(macos): cache the static LLD build
Restore only an exact match for the runner image, SDK, LLVM version, compiler/library contents, workspace and helper script. Always run the existing helper after restoration to configure, build and install LLD. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS')
-rw-r--r--AGENTS/ARCH.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/AGENTS/ARCH.md b/AGENTS/ARCH.md
index 1f1aeba..0711c36 100644
--- a/AGENTS/ARCH.md
+++ b/AGENTS/ARCH.md
@@ -194,6 +194,15 @@ with the selected LLVM prefix and cpsc build directory before configuring on mac
It builds matching LLD sources, installs static archives and tools into the build
prefix, and leaves LLVM itself installed. Source and build caches are versioned;
the resulting local `lib/cmake/lld` takes precedence over shared system packages.
+The macOS nightly job caches the helper's versioned source/build directory and still
+runs the helper to configure, build incrementally and install after restoring it.
+Exact cache keys include the runner image, SDK identity, LLVM package version and
+compiler/library content, workspace path and helper script hash. No fallback key
+restores a build from a different toolchain. Homebrew updates and the LLVM archive
+symbol check still run before cache lookup. Windows and macOS desktop jobs cache
+compiled Rust dependencies after selecting the toolchain, including on failure;
+project crates rebuild with the current compiler payload. Rust release optimization
+and archive compression settings are unchanged.
The helper's build-time linker can use the installed LLVM dylib; cpsc still links
the LLD archives and static LLVM components.
Both macOS configurations explicitly select the SDK with `CMAKE_OSX_SYSROOT`