Unable to build with cmake FetchContent
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cmake, cpp
- 领域
- build-system
调研方向
从链接的 gist 中的最小可复现 CMakeLists.txt 开始,检查 FetchContent 设置,然后复现生成错误。检查预期如何让 dawn 库到达 third_party/lib 以及 _deps/gpucpp-{build/subbuild/src} 路径。完成的标准是:在不手动放置 libdawn.dylib 的情况下,干净的 CMake 构建能够找到该库和头文件。
由索引模型根据 Issue 内容生成。
描述
Expected: Use FetchContent_Delcare to declare the dependency and then use FetchContent_MakeAvailable and the built library and headers will be in the _deps/gpucpp-{build/subbuild/src}
Actual: The generating process ends up with an error. Error message and minimal reproducible CMakeLists.txt is inside the gist
The dawn library file doesn't appear in the third_party/lib directory. After I built this and put the libdawn.dylib into the third_party/lib directory the cmake command works.
- 主要语言
- C++
- 星标
- 4k
- 派生
- 199
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AnswerDotAI/gpu.cpp 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
AnswerDotAI/gpu.cpp#72 ·
-
难度 4/5 3-5 天 新手友好度 35/100
AnswerDotAI/gpu.cpp#51 ·
-
难度 3/5 1-2 天 新手友好度 35/100
AnswerDotAI/gpu.cpp#48 ·
-
难度 3/5 1-2 天 新手友好度 35/100
AnswerDotAI/gpu.cpp#45 · 4 条评论 ·
-
Python bindings 未关闭
难度 4/5 3-5 天 新手友好度 35/100
AnswerDotAI/gpu.cpp#21 · 6 条评论 · 1 个 reaction ·
查看 AnswerDotAI/gpu.cpp 的全部 Issue
相似的 Issue
-
ai_reviewed
难度 2/5 1-3 小时 新手友好度 68/100
ydb-platform/ydb#53869 · 3 条评论 ·
-
bug cert blocker needs triage
难度 2/5 1-3 小时 新手友好度 82/100
project-chip/connectedhomeip#74373 ·
-
upstream update
难度 2/5 1-3 小时 新手友好度 75/100
conan-io/conan-center-index#31035 ·
-
Bug
难度 2/5 1-3 小时 新手友好度 68/100
-
documentation
难度 1/5 1 小时以内 新手友好度 85/100
vllm-project/vllm-ascend#17329 ·