AnswerDotAI / AnswerDotAI/gpu.cpp
Unable to build with cmake FetchContent
- Linguagem predominante
- C++
- Estrelas
- 4k
- Forks
- 199
- Merge médio
- 2min
- PRs com merge (30d)
- 3
Descrição
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.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Comece pelo CMakeLists.txt mínimo reproduzível no gist vinculado e inspecione a configuração do FetchContent; em seguida, reproduza o erro de geração. Verifique como se espera que a biblioteca dawn chegue a third_party/lib e aos caminhos _deps/gpucpp-{build/subbuild/src}. Está concluído quando um build limpo do CMake encontra a biblioteca e os headers sem colocar libdawn.dylib manualmente.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- cmake, cpp
- Domínio
- build-system
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100