Repository navigation
Commit 6b90f4d
authored
Release 2026.11.21.1: the test and CI architecture of design 2026-11-20 with its three sub-designs of 2026-11-21 (build programs' observed inputs, offline builds with host inputs and the toolchain defaults, package features), in one pull request. The CHANGELOG section `[2026.11.21.1]` is the release's notes. Refs #986, #976, #927, #802, #293, #988, #989, #990, #991, #852, #992.
## Engine
- A package's instance is a function of its configuration (#986); a path enters a cache key by its role; a cacheable package's build program runs into the home's `build-cache/v1/out`.
- The home's unit cache (#927): a fresh checkout of mcpp on a filled cache builds in 4.1 s instead of 164 s. `[profile.<name>] dependency_debug`, `[build] memory_threshold` (#802), one budget of slots for the machine (#976).
- The record of a build and of a run, run fixtures (#293), `--changed`/`--since` by headers, `mcpp emit surface` and `MCPP_SURFACE_RECORD`.
- A build program's observed inputs (#991): an edit of a header it includes compiles and runs it again; a project is told a notice once; contract names judged by their variable (#852).
- Offline builds (#990): `mcpp fetch --to`/`--from`, `[build] offline`, `[xlings] archives`, `[build] allow_host_tools`; a build no longer requires patchelf; a toolchain request has one answer (#988); a compiler's version is its driver's (#989).
- The defaults are data and the newest release every platform they serve publishes: gcc 16.2.0, ninja 1.13.2-mcpp.1, patchelf 0.19.3; llvm 23.1.3 and the musl rows stay.
- A package's features are machine-readable (#992): `mcpp search --format json`, `mcpp why features`.
## Tests
mtest 0.11.2. The kit records each command's steps and the surface it uses, shares one home as a run fixture, gives a case that changes a home its own, declares diagnostic lines and compares contractual outputs with goldens. The surface ledger covers every item of `mcpp emit surface` by a passing case or a waiver with its reason; the CPU budget is a gate.
## CI
Tiers reach the jobs; a `full` run that passes leaves `verified-<tree>`; a push to main of a verified tree registers that run instead of testing again; `release-build.yml` holds the four release builds; `release.yml` promotes a verified run's archives. docs/92 and the release skill state the procedure.
Specs, usage chapters (en and zh), design records and the CHANGELOG are updated with the change.
1 parent 722ec1b commit 6b90f4d
392 files changed
Lines changed: 17772 additions & 3371 deletions
File tree
- .agents
- docs
- skills
- mcpp-contributing
- mcpp-release
- .github
- actions
- bootstrap-mcpp
- e2e-cases
- e2e-mtest
- mcpp-unit
- project-test
- setup-macos-llvm
- use-built-mcpp
- tools
- workflows
- bench
- docs
- specs
- zh
- modules
- build-record
- src
- tests
- buildmcpp
- src
- buildopt
- graph
- invocation
- manifest
- src
- compat
- tests
- notice
- src
- tests
- surface
- src
- tests
- toolchain-model
- data
- src
- tests
- unit-cache
- src
- tests
- versioning
- src
- src
- bmi_cache
- build
- prepare
- schedule
- cli
- home
- pack
- pm
- provider
- xlings
- publish
- runtime
- scaffold
- toolchain
- tests
- canary/cxx
- e2e
- actions
- android
- baremetal
- basics
- build-program
- build
- cache
- cdb
- cli
- deps
- features
- golden
- index
- macos
- modules
- openkal
- pack
- runtime
- run
- self
- targets
- test
- toolchain
- web
- windows
- workspace
- fixtures
- matrix
- scripts
- support
- src
- unit
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| 95 | + | |
| 96 | + | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| |||
173 | 176 | | |
174 | 177 | | |
175 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
176 | 183 | | |
177 | 184 | | |
178 | 185 | | |
| |||
206 | 213 | | |
207 | 214 | | |
208 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
209 | 220 | | |
210 | 221 | | |
211 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
153 | 166 | | |
154 | 167 | | |
155 | 168 | | |
| |||
357 | 370 | | |
358 | 371 | | |
359 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
360 | 382 | | |
361 | 383 | | |
362 | 384 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
75 | 83 | | |
76 | 84 | | |
77 | 85 | | |
| |||
108 | 116 | | |
109 | 117 | | |
110 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
111 | 124 | | |
112 | 125 | | |
113 | 126 | | |
114 | 127 | | |
115 | 128 | | |
116 | 129 | | |
117 | 130 | | |
118 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
119 | 134 | | |
120 | 135 | | |
121 | 136 | | |
122 | | - | |
123 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
124 | 140 | | |
125 | 141 | | |
126 | 142 | | |
127 | 143 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
133 | 151 | | |
134 | 152 | | |
135 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments