第6组:启用ccache加速重复编译并保持闭环

This commit is contained in:
cnc
2026-06-01 06:42:35 +08:00
parent 4c55ab3435
commit 6f9431a389
7 changed files with 35 additions and 1 deletions

View File

@@ -57,6 +57,9 @@ Efficiency rules:
- Default native, source-link, build-wasm, and wasm-safe CMake probe
parallelism to `CNC_SIM_BUILD_JOBS:-8`; raise it only by explicit
positive-integer environment override.
- When `ccache` is available and `CXX` is unset, native and wasm build paths
should enable compiler caching automatically rather than requiring a manual
wrapper.
- Persistent native, source-link, and wasm-safe CMake probe build directories
may be overridden for local workflows, but must not point at the filesystem
root.