Compatibility Issue with Recent Boost Versions
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 68/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- cmake, cpp
- 领域
- testing-qa
调研方向
从 utils/test_harness/include/test_harness/../../tools/include/test_harness_debug.hpp 开始,检查 Level Zero 测试工具使用的 Boost.Process 导入。使用较新的 Boost 版本构建 Level Zero 测试,并确认使用 v1 process library 引用时编译成功。
由索引模型根据 Issue 内容生成。
描述
The Level Zero tests currently fail to compile with recent versions of Boost due to changes in the Boost.Process library. Boost has made the v2 process the default in its latest versions.
The Level Zero test build configuration specifies only a minimum supported Boost version (1.65) but does not specify a maximum supported version.
Some Linux distributions, such as Arch Linux, use Boost with the v2 process by default, leading to compilation failures with errors like:
[ 5%] Building CXX object utils/test_harness/CMakeFiles/test_harness.dir/src/test_harness_cmdlist.cpp.o In file included from /root/level-zero-tests/utils/test_harness/include/test_harness/test_harness.hpp:30, from /root/level-zero-tests/utils/test_harness/src/test_harness_cmdlist.cpp:9: /root/level-zero-tests/utils/test_harness/include/test_harness/../../tools/include/test_harness_debug.hpp:25:13: error: ‘unordered_map’ in namespace ‘std’ does not name a template type 25 | extern std::unordered_map<zet_debug_session_handle_t, bool> | ^~~~~~~~~~~~~ /root/level-zero-tests/utils/test_harness/include/test_harness/../../tools/include/test_harness_debug.hpp:18:1: note: ‘std::unordered_map’ is defined in header ‘<unordered_map>’; this is probably fixable by adding ‘#include <unordered_map>’ 17 | #include "test_harness/zet_intel_gpu_debug.h" +++ |+#include <unordered_map> 18 | /root/level-zero-tests/utils/test_harness/include/test_harness/../../tools/include/test_harness_debug.hpp:72:46: error: ‘boost::process::child’ has not been declared 72 | boost::process::child &debug_helper); | ^~~~~ make[2]: *** [utils/test_harness/CMakeFiles/test_harness.dir/build.make:107: utils/test_harness/CMakeFiles/test_harness.dir/src/test_harness_cmdlist.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:2744: utils/test_harness/CMakeFiles/test_harness.dir/all] Error 2
The previous version of the Boost.Process library is still available under the "v1" folder. To resolve the compilation issue, import statements in the Level Zero tests need to be updated to reference the v1 process library.
Please update the Level Zero tests to specify the correct Boost.Process version in the import statements.
- 主要语言
- C++
- 星标
- 64
- 派生
- 69
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
oneapi-src/level-zero-tests 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 45/100
oneapi-src/level-zero-tests#91 · 1 个 reaction ·
-
Add tags/make releases for this repo可能重新可做 @lisanna-dettwyler 于 899 天前认领,目前没有进行中的 PR。 未关闭
oneapi-src/level-zero-tests#34 · 8 条评论 · 2 个 reaction · 已指派 1 人 ·
-
难度 3/5 1-2 天 新手友好度 35/100
oneapi-src/level-zero-tests#33 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 48/100
-
难度 4/5 3-5 天 新手友好度 25/100
oneapi-src/level-zero-tests#20 · 3 条评论 ·
查看 oneapi-src/level-zero-tests 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 92/100
espressif/esp-matter#1867 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
isce-framework/isce3#387 ·
-
upstream update
难度 2/5 1-3 小时 新手友好度 68/100
conan-io/conan-center-index#31055 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复