feat: 添加 mp-units 2.5.0 模块包 - #514
Closed
helantianshen wants to merge 0 commit into
Closed
helantianshen wants to merge 0 commit into
helantianshen wants to merge 0 commit into
Conversation
Sunrisepeak
force-pushed
the
feat/add-mp-units
branch
from
October 4, 2026 17:52
7c30f42 to
afe5e8a
Compare
Member
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
添加
mpusz.mp-units@2.5.0,提供上游mp_units.core、mp_units.systems和mp_units,使用import std、std::format、contracts=none。安装钩子精确修补 chrono 偏特化导出和 ratio 相等比较,再将三个接口原样复制为.cppm;归档及校验值不变,无额外包依赖。测试覆盖单位换算、量纲约束、多 TU、chrono、格式化和自然单位。固定 mcpp 2026.10.1.2 验证:
2 passed; 0 failed。PR 保持 Draft:GCC 验证载荷来自 CachyOS x86_64_v3,两个新版工具链尚未在公共 xim 索引发布;当前默认 GCC 16.1.0、LLVM 22.1.8 仍有编译阻塞。提交
7c30f42的 CI 已结束:macOS、Windows 各2 passed; 0 failed;Linux GCC 16.1.0 仍报recursive lazy load,LLVM 22.1.8 为1 passed; 1 failed(自然单位约束)。lint、镜像、站点及副作用检查通过;失败汇总检查由上述 Linux 失败触发。未修改系统编译器、全仓工具链默认值或 CI 排除规则。详见仓库 spec。待决定
@Sunrisepeak
当前 Linux CI 仍使用 GCC 16.1.0 和 LLVM 22.1.8,分别失败于模块加载和自然单位 quantity 约束;本地独立新版工具链已通过,但尚未进入公共工具链索引。失败日志见 本轮 CI。
可选路线:
当前暂停进一步工具链和 CI 修改,保留失败测试及 Draft 状态;本地验证通过不代表默认生态接入已完成。