Skip to content

Commit b333452

Browse files
committed
ci: validate every member with mcpp 2026.9.29.1; latest_mcpp -> 2026.9.29.1
1 parent 1e571c4 commit b333452

450 files changed

Lines changed: 26162 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/validate.yml‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,16 @@ env:
377377
# as its floor, and tests/examples/mcpp-plugins builds against it. Engine
378378
# warnings the members may newly print: W1 to W3 of SPEC-008 (the library
379379
# interface), warnings only.
380-
MCPP_VERSION: "2026.9.28.3"
380+
#
381+
# 2026.9.29.1 (mcpp-community/mcpp#738) builds a workspace as one graph per
382+
# configuration: `mcpp test -p <member>` plans that member and what it
383+
# reaches in the workspace's build directory, `target/<triple>/<key>/` at
384+
# this repository's root, with the member's products in `bin/<name>/`. The
385+
# members' own `tests/examples/*/target/` directories are no longer written.
386+
# The directory name no longer hashes a package's own flags, so a member
387+
# whose flags differ from another's shares the directory and ninja rebuilds
388+
# the commands that changed.
389+
MCPP_VERSION: "2026.9.29.1"
381390

382391
jobs:
383392
lint:

‎.mcpp/.xlings.json‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"index_repos": [
3+
{ "name": "compat", "url": "/tmp/claude-1000/idx/" }
4+
],
5+
"lang": "en",
6+
"mirror": "auto"
7+
}

‎.mcpp/.xlings/.xlings.json‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"configured": {
3+
"compat:argparse@3.2": 0
4+
},
5+
"workspace": {}
6+
}

‎.mcpp/.xlings/data/compat‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/tmp/claude-1000/idx/
121 KB
Binary file not shown.

‎.mcpp/.xlings/data/runtimedir/v3.2.tar.gz.lock‎

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"os": "linux",
3+
"version": "3.2",
4+
"xlings_version": "2026.9.29.1",
5+
"registered": 0,
6+
"revision": 0
7+
}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
-- compat.argparse — p-ranav/argparse, a single-header command line parser.
2+
--
3+
-- Shape B: one header at `include/argparse/argparse.hpp`, so `include_dirs` is
4+
-- `*/include` and consumers write `#include <argparse/argparse.hpp>`.
5+
--
6+
-- The index's third answer to argument parsing, and they are not
7+
-- interchangeable: `compat.CLI11` is the large one (subcommands, config files,
8+
-- validators), `mcpplibs.cmdline` is the mcpp-native module, and this one is
9+
-- the small header that models an argument as a typed `add_argument(...)`
10+
-- chain and throws on a bad command line. A project already using it does not
11+
-- want to be told to rewrite its `main`.
12+
--
13+
-- Needs C++17; `language = "c++23"` here is the index's usual setting for a
14+
-- compat entry and does not force anything on a consumer's own dialect.
15+
--
16+
-- CN mirror: `gitcode.com/mcpp-res/argparse`, the upstream tarball re-hosted
17+
-- BYTE-IDENTICALLY (verified: the mirror's sha256 equals the one declared
18+
-- here, which is what lets one `sha256` serve both arms). GLOBAL stays the
19+
-- default; CN is the fallback `mcpp self config --mirror CN` selects.
20+
package = {
21+
spec = "1",
22+
namespace = "compat",
23+
name = "argparse",
24+
description = "argparse — header-only argument parser for modern C++",
25+
licenses = {"MIT"},
26+
repo = "https://github.com/p-ranav/argparse",
27+
type = "package",
28+
29+
xpm = {
30+
linux = {
31+
["3.2"] = {
32+
url = {
33+
GLOBAL = "https://github.com/p-ranav/argparse/archive/refs/tags/v3.2.tar.gz",
34+
CN = "https://gitcode.com/mcpp-res/argparse/releases/download/3.2/argparse-3.2.tar.gz",
35+
},
36+
sha256 = "9dcb3d8ce0a41b2a48ac8baa54b51a9f1b6a2c52dd374e28cc713bab0568ec98",
37+
},
38+
},
39+
macosx = {
40+
["3.2"] = {
41+
url = {
42+
GLOBAL = "https://github.com/p-ranav/argparse/archive/refs/tags/v3.2.tar.gz",
43+
CN = "https://gitcode.com/mcpp-res/argparse/releases/download/3.2/argparse-3.2.tar.gz",
44+
},
45+
sha256 = "9dcb3d8ce0a41b2a48ac8baa54b51a9f1b6a2c52dd374e28cc713bab0568ec98",
46+
},
47+
},
48+
windows = {
49+
["3.2"] = {
50+
url = {
51+
GLOBAL = "https://github.com/p-ranav/argparse/archive/refs/tags/v3.2.tar.gz",
52+
CN = "https://gitcode.com/mcpp-res/argparse/releases/download/3.2/argparse-3.2.tar.gz",
53+
},
54+
sha256 = "9dcb3d8ce0a41b2a48ac8baa54b51a9f1b6a2c52dd374e28cc713bab0568ec98",
55+
},
56+
},
57+
},
58+
59+
mcpp = {
60+
language = "c++23",
61+
import_std = false,
62+
c_standard = "c11",
63+
include_dirs = { "*/include" },
64+
generated_files = {
65+
["mcpp_generated/argparse_anchor.c"] =
66+
"int mcpp_compat_argparse_anchor(void) { return 0; }\n",
67+
},
68+
sources = { "mcpp_generated/argparse_anchor.c" },
69+
targets = { ["argparse"] = { kind = "lib" } },
70+
deps = { },
71+
},
72+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
build --enable_platform_specific_config
2+
3+
build:linux --cxxopt=-std=c++17
4+
5+
build:windows --copt=/utf-8
6+
build:windows --copt=/Zc:preprocessor
7+
build:windows --cxxopt=/std:c++17
8+
build:windows --cxxopt=/Zc:__cplusplus

0 commit comments

Comments
 (0)