eliemichel / WebGPU-distribution

Distributions of WebGPU for native and web development, easy to integrate and interchangeable.
MIT License
141 stars 20 forks source link

dawn is not building #22

Open nisaldilshan opened 1 month ago

nisaldilshan commented 1 month ago

the branch "dawn" is no longer building.

may be due to the usage of "EXCLUDE_FROM_ALL". add_subdirectory(${dawn_SOURCE_DIR} ${dawn_BINARY_DIR} EXCLUDE_FROM_ALL)

eliemichel commented 1 month ago

What error do you get on your side when trying to build it?

(If your remark is related to LearnWebGPU-Code's GitHub Actions, it is because they used to only test with wgpu-native and I just added Dawn-based tests as well but had not configured linux dependencies correctly!)

nisaldilshan commented 1 month ago

Hi @eliemichel , I was creating a conan package for your dawn webgpu distribution and I could not build dawn without removing "EXCLUDE_FROM_ALL" from FetchDawn.cmake file.

Here is my conan file. https://github.com/nisaldilshan/WebGPU-distribution/blob/main/conanfile.py

eliemichel commented 1 month ago

What error message/symptom did you experience?

eliemichel commented 1 month ago

NB: Once we figure this out, I'll be happy to merge your conan config file :)