From 59dc4b00a062c68ea663086febdcd768e7b84f36 Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Sun, 8 Nov 2026 09:08:39 +0900 Subject: [PATCH 1/2] mcpp.plugins 0.21.0: CMake cross contracts and owned accelerator targets; latest is 0.21.0 Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com> --- CHANGELOG.md | 4 ++++ pkgs/m/mcpp.plugins.lua | 37 +++++++++++++++++++++++++++++++++---- 2 files changed, 37 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a60f78dc..a2efda8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,10 @@ ### Added +- **mcpp.plugins 0.21.0。** CMake 交叉构建在动作运行时使用引擎给出的编译器、标志、归档器与目标约定(链接可执行文件或共享库的 + 交叉子项目需要 mcpp 2026.11.7.1);加速器规则拥有各自的代码目标,SYCL 在一个请求中给出多个 NVIDIA 架构与 SPIR-V + (mcpp-plugins#887);`plugins-progress` 写出动作的可选进度;各成员经 mcpplibs.os 0.4.0 访问系统,不包含头文件。包的下限为 + mcpp 2026.10.30.1;`latest` 指向 0.21.0。 - **mtest 0.1.0.** `mcpplibs.mtest`, the C++ library of the mtest test system (cases, expectations, fixtures, bench, conformance and end-to-end helpers, no macro and no header, speaking the mtest test protocol); its GoogleTest adapter `mcpplibs.mtest.gtest`; its C ABI `mcpplibs.mtest.capi`. The three share one tag and one archive of diff --git a/pkgs/m/mcpp.plugins.lua b/pkgs/m/mcpp.plugins.lua index e25baaa0..5dbc4cc5 100644 --- a/pkgs/m/mcpp.plugins.lua +++ b/pkgs/m/mcpp.plugins.lua @@ -2,12 +2,20 @@ -- each member selected by a feature. -- -- [dependencies.mcpp] --- plugins = { version = "0.20.0", features = ["rules-spirv"], host-module = true } +-- plugins = { version = "0.21.0", features = ["rules-spirv"], host-module = true } -- -- // build.mcpp -- import mcpp; -- import mcpp.rules.spirv; -- +-- 0.21.0 (package floor mcpp 2026.10.30.1): a CMake cross build consumes the +-- engine's compiler, flags, archiver and target contract when the action +-- runs (a cross subproject that links an executable or a shared library +-- needs mcpp 2026.11.7.1); accelerator rules own their code targets (SYCL's +-- NVIDIA architectures and SPIR-V in one request, mcpp-plugins#887); +-- `plugins-progress` writes an action's optional progress; the members reach +-- the system through mcpplibs.os 0.4.0 and include no header. +-- -- 0.20.0 (package floor mcpp 2026.10.27.1): `mcpp.plugins.platform` -- a -- platform's plugin provides a package format over the staged package -- (`provide_format`, reading its mcpp-package.json) -- and @@ -658,6 +666,13 @@ package = { xpm = { linux = { + ["0.21.0"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.21.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.21.0/mcpp-plugins-0.21.0.tar.gz", + }, + sha256 = "f164776d2f6f1b9bc09482a556c08e3c8a9eb25fbcfbf513452df7b1eb4b824d", + }, ["0.20.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.20.0.tar.gz", @@ -938,9 +953,16 @@ package = { }, sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", }, - ["latest"] = { ref = "0.20.0" }, + ["latest"] = { ref = "0.21.0" }, }, macosx = { + ["0.21.0"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.21.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.21.0/mcpp-plugins-0.21.0.tar.gz", + }, + sha256 = "f164776d2f6f1b9bc09482a556c08e3c8a9eb25fbcfbf513452df7b1eb4b824d", + }, ["0.20.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.20.0.tar.gz", @@ -1221,9 +1243,16 @@ package = { }, sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", }, - ["latest"] = { ref = "0.20.0" }, + ["latest"] = { ref = "0.21.0" }, }, windows = { + ["0.21.0"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.21.0.tar.gz", + CN = "https://gitcode.com/mcpp-res/mcpp-plugins/releases/download/0.21.0/mcpp-plugins-0.21.0.tar.gz", + }, + sha256 = "f164776d2f6f1b9bc09482a556c08e3c8a9eb25fbcfbf513452df7b1eb4b824d", + }, ["0.20.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mcpp-plugins/archive/refs/tags/v0.20.0.tar.gz", @@ -1504,7 +1533,7 @@ package = { }, sha256 = "adf1f9d6691a5d05a8a4a94e83c733ea39caee1510ce2c9af4cb23bebabea9f5", }, - ["latest"] = { ref = "0.20.0" }, + ["latest"] = { ref = "0.21.0" }, }, }, From c5eb230e5f7b1c6d875002c256a4eef0f3c1f242 Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Sun, 8 Nov 2026 09:08:56 +0900 Subject: [PATCH 2/2] mcpp.plugins 0.21.0: the SYCL issue is mcpp#887 Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com> --- CHANGELOG.md | 2 +- pkgs/m/mcpp.plugins.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2efda8b..cf445a1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,7 @@ - **mcpp.plugins 0.21.0。** CMake 交叉构建在动作运行时使用引擎给出的编译器、标志、归档器与目标约定(链接可执行文件或共享库的 交叉子项目需要 mcpp 2026.11.7.1);加速器规则拥有各自的代码目标,SYCL 在一个请求中给出多个 NVIDIA 架构与 SPIR-V - (mcpp-plugins#887);`plugins-progress` 写出动作的可选进度;各成员经 mcpplibs.os 0.4.0 访问系统,不包含头文件。包的下限为 + (mcpp#887);`plugins-progress` 写出动作的可选进度;各成员经 mcpplibs.os 0.4.0 访问系统,不包含头文件。包的下限为 mcpp 2026.10.30.1;`latest` 指向 0.21.0。 - **mtest 0.1.0.** `mcpplibs.mtest`, the C++ library of the mtest test system (cases, expectations, fixtures, bench, conformance and end-to-end helpers, no macro and no header, speaking the mtest test protocol); its GoogleTest diff --git a/pkgs/m/mcpp.plugins.lua b/pkgs/m/mcpp.plugins.lua index 5dbc4cc5..b5b924e4 100644 --- a/pkgs/m/mcpp.plugins.lua +++ b/pkgs/m/mcpp.plugins.lua @@ -12,7 +12,7 @@ -- engine's compiler, flags, archiver and target contract when the action -- runs (a cross subproject that links an executable or a shared library -- needs mcpp 2026.11.7.1); accelerator rules own their code targets (SYCL's --- NVIDIA architectures and SPIR-V in one request, mcpp-plugins#887); +-- NVIDIA architectures and SPIR-V in one request, mcpp#887); -- `plugins-progress` writes an action's optional progress; the members reach -- the system through mcpplibs.os 0.4.0 and include no header. --