Skip to content

Commit cc6811b

Browse files
mcpp.plugins 0.21.0: CMake cross contracts and owned accelerator targets (#731)
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
1 parent c544360 commit cc6811b

2 files changed

Lines changed: 37 additions & 4 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222

2323
### Added
2424

25+
- **mcpp.plugins 0.21.0。** CMake 交叉构建在动作运行时使用引擎给出的编译器、标志、归档器与目标约定(链接可执行文件或共享库的
26+
交叉子项目需要 mcpp 2026.11.7.1);加速器规则拥有各自的代码目标,SYCL 在一个请求中给出多个 NVIDIA 架构与 SPIR-V
27+
(mcpp#887);`plugins-progress` 写出动作的可选进度;各成员经 mcpplibs.os 0.4.0 访问系统,不包含头文件。包的下限为
28+
mcpp 2026.10.30.1;`latest` 指向 0.21.0。
2529
- **mtest 0.1.0.** `mcpplibs.mtest`, the C++ library of the mtest test system (cases, expectations, fixtures, bench,
2630
conformance and end-to-end helpers, no macro and no header, speaking the mtest test protocol); its GoogleTest
2731
adapter `mcpplibs.mtest.gtest`; its C ABI `mcpplibs.mtest.capi`. The three share one tag and one archive of

‎pkgs/m/mcpp.plugins.lua‎

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,20 @@
22
-- each member selected by a feature.
33
--
44
-- [dependencies.mcpp]
5-
-- plugins = { version = "0.20.0", features = ["rules-spirv"], host-module = true }
5+
-- plugins = { version = "0.21.0", features = ["rules-spirv"], host-module = true }
66
--
77
-- // build.mcpp
88
-- import mcpp;
99
-- import mcpp.rules.spirv;
1010
--
11+
-- 0.21.0 (package floor mcpp 2026.10.30.1): a CMake cross build consumes the
12+
-- engine's compiler, flags, archiver and target contract when the action
13+
-- runs (a cross subproject that links an executable or a shared library
14+
-- needs mcpp 2026.11.7.1); accelerator rules own their code targets (SYCL's
15+
-- NVIDIA architectures and SPIR-V in one request, mcpp#887);
16+
-- `plugins-progress` writes an action's optional progress; the members reach
17+
-- the system through mcpplibs.os 0.4.0 and include no header.
18+
--
1119
-- 0.20.0 (package floor mcpp 2026.10.27.1): `mcpp.plugins.platform` -- a
1220
-- platform's plugin provides a package format over the staged package
1321
-- (`provide_format`, reading its mcpp-package.json) -- and
@@ -658,6 +666,13 @@ package = {
658666

659667
xpm = {
660668
linux = {
669+
["0.21.0"] = {
670+
url = {
671+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.21.0.tar.gz",
672+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.21.0/mcpp-plugins-0.21.0.tar.gz",
673+
},
674+
sha256 = "f164776d2f6f1b9bc09482a556c08e3c8a9eb25fbcfbf513452df7b1eb4b824d",
675+
},
661676
["0.20.0"] = {
662677
url = {
663678
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.20.0.tar.gz",
@@ -938,9 +953,16 @@ package = {
938953
},
939954
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
940955
},
941-
["latest"] = { ref = "0.20.0" },
956+
["latest"] = { ref = "0.21.0" },
942957
},
943958
macosx = {
959+
["0.21.0"] = {
960+
url = {
961+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.21.0.tar.gz",
962+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.21.0/mcpp-plugins-0.21.0.tar.gz",
963+
},
964+
sha256 = "f164776d2f6f1b9bc09482a556c08e3c8a9eb25fbcfbf513452df7b1eb4b824d",
965+
},
944966
["0.20.0"] = {
945967
url = {
946968
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.20.0.tar.gz",
@@ -1221,9 +1243,16 @@ package = {
12211243
},
12221244
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
12231245
},
1224-
["latest"] = { ref = "0.20.0" },
1246+
["latest"] = { ref = "0.21.0" },
12251247
},
12261248
windows = {
1249+
["0.21.0"] = {
1250+
url = {
1251+
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.21.0.tar.gz",
1252+
CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.21.0/mcpp-plugins-0.21.0.tar.gz",
1253+
},
1254+
sha256 = "f164776d2f6f1b9bc09482a556c08e3c8a9eb25fbcfbf513452df7b1eb4b824d",
1255+
},
12271256
["0.20.0"] = {
12281257
url = {
12291258
GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.20.0.tar.gz",
@@ -1504,7 +1533,7 @@ package = {
15041533
},
15051534
sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5",
15061535
},
1507-
["latest"] = { ref = "0.20.0" },
1536+
["latest"] = { ref = "0.21.0" },
15081537
},
15091538
},
15101539

0 commit comments

Comments
 (0)