AnswerDotAI / AnswerDotAI/gpu.cpp

Unable to build with cmake FetchContent

未关闭
#42 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
4k
派生
199
平均合并
2 分钟
30 天内合并 PR
3

描述

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](https://gist.github.com/kagurazaka-ayano/64a806bff6de0c6a7ba7a00d12eff3dc)

The dawn library file doesn't appear in the third_party/lib directory. After I built [this](https://github.com/jspanchu/webgpu-dawn-binaries) and put the libdawn.dylib into the third_party/lib directory the cmake command works.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。