Skip to content

Commit 2756dea

Browse files
committed
ci: mcpp 0.0.101 -> 0.0.102 (windows scan-deps cmdline ceiling, mcpp#261)
The windows workspace leg builds a package's own TUs from under the registry's xpkgs path (~124 chars) rather than a ~23-char checkout, so the clang scan-deps command — wrapped in `cmd /c` only to redirect its P1689 JSON — crossed cmd.exe's 8191-char ceiling on the vendored-opencv consumer (opencv-module{,-dnn}). mcpp 0.0.102 drops the wrapper via clang-scan-deps -o and extends #247's response-file fallback to every $local_includes rule, restoring the CreateProcess 32767 ceiling. Bump min_mcpp/latest_mcpp together with the CI pin per the index.toml version-contract rule. Also carries #257 (Clang purview-include depfile), #258 (OS-conditional [build].flags) and #254 (per-OS splice on target).
1 parent 9a8d6f0 commit 2756dea

2 files changed

Lines changed: 18 additions & 6 deletions

File tree

.github/workflows/validate.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ on:
1111
workflow_dispatch:
1212

1313
env:
14+
# 0.0.102: windows command-line ceiling (mcpp#261 — the clang scan rule got
15+
# its P1689 JSON through shell redirection, which forced a `cmd /c` wrapper
16+
# and with it cmd.exe's 8191-char limit; clang-scan-deps -o removes both, and
17+
# $local_includes-carrying rules now fall back to response files). The pin
18+
# matters here because a package consumed FROM the registry sits under a
19+
# ~124-char xpkgs path instead of its own ~23-char checkout, which is what
20+
# pushed the vendored-opencv scan command over the line. Also: purview-include
21+
# depfile tracking extended to Clang (#257 — stale BMI reuse), OS-conditional
22+
# `[build].flags` (#258), and per-OS splices keyed on the resolved target
23+
# rather than the host (#254).
24+
# 0.0.101: per-feature per-glob flags + per-OS features (mcpp#253) — what
25+
# lets opencv select its dnn gemm backend per platform.
1426
# 0.0.99: feature dep/feat forwarding (mcpp#243 — a feature can open a
1527
# feature OF a dependency, e.g. opencv `dnn` forwarding compat.opencv/dnn);
1628
# vendored xlings 0.4.67 for the >=2 index_repo install fix (mcpp#238 /
@@ -35,7 +47,7 @@ env:
3547
# 0.0.94 fixed feature-gated `sources` under `mcpp test` (mcpp#218); 0.0.91
3648
# added standard = "c++fly" to the resolver grammar, so c++fly descriptors
3749
# get the lint WARN below, not a hard grammar-parse rejection.
38-
MCPP_VERSION: "0.0.101"
50+
MCPP_VERSION: "0.0.102"
3951

4052
jobs:
4153
lint:
@@ -184,21 +196,21 @@ jobs:
184196
ext: tar.gz
185197
mcpp: bin/mcpp
186198
xlings: registry/bin/xlings
187-
mcpp_version: "0.0.101" # keep in sync with env.MCPP_VERSION
199+
mcpp_version: "0.0.102" # keep in sync with env.MCPP_VERSION
188200
- platform: macos
189201
os: macos-15
190202
suffix: macosx-arm64
191203
ext: tar.gz
192204
mcpp: bin/mcpp
193205
xlings: registry/bin/xlings
194-
mcpp_version: "0.0.101" # keep in sync with env.MCPP_VERSION
206+
mcpp_version: "0.0.102" # keep in sync with env.MCPP_VERSION
195207
- platform: windows
196208
os: windows-latest
197209
suffix: windows-x86_64
198210
ext: zip
199211
mcpp: bin/mcpp.exe
200212
xlings: registry/bin/xlings.exe
201-
mcpp_version: "0.0.101" # keep in sync with env.MCPP_VERSION
213+
mcpp_version: "0.0.102" # keep in sync with env.MCPP_VERSION
202214
env:
203215
MCPP_EFFECTIVE: ${{ matrix.mcpp_version }}
204216
steps:

index.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
# "floor first, new grammar after" rollout rule mechanically.
88
[index]
99
spec = "1"
10-
min_mcpp = "0.0.101"
11-
latest_mcpp = "0.0.101"
10+
min_mcpp = "0.0.102"
11+
latest_mcpp = "0.0.102"

0 commit comments

Comments
 (0)