feat: 添加 mp-units 2.5.0 模块包(LLVM) - #515
Merged
Merged
Conversation
复用上游 mp_units.core / mp_units.systems / mp_units 三个模块,安装钩子仅将接口复制为 .cppm。 linux 要求 libc++:GCC 16.1 导入模块报 recursive lazy load(mpusz/mp-units#717),CI gcc 腿跳过该成员。 关闭实验性自然单位(LLVM 22 约束失败)。
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.
接替 #514(作者 @helantianshen),精简后重新提交:
mp_units.core/mp_units.systems/mp_units,安装钩子只把接口复制为.cppm,Clang 才能把它们识别为模块接口requires = { "mcpp:c++-abi=libc++" }:GCC 16.1 导入模块时报recursive lazy load(Module fails to build withrecursive lazy loaderror mpusz/mp-units#717)。包侧无法绕过:单模块合并、-fno-module-lazy、CRTP 模式都试过;GCC 用户会在解析阶段被拒绝。CI 的 gcc 腿跳过该成员本地验证:LLVM 22.1.8 测试
1 passed;GCC 16.1.0 在解析阶段报出 libc++ 要求。