eliemichel / WebGPU-distribution

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

Add more supported arm platform detections #33

Closed ThomasJowett closed 1 month ago

ThomasJowett commented 1 month ago

This is to fix the issue that I was having of linux arm64 platform not being correctly detected. CMAKE_SYSTEM_PROCESSOR can be a few different values depending on the hardware vendor, so I added support for them and error reporting if the platform is not recognised.

eliemichel commented 1 month ago

Thanks 🙏 This function should really be something provided by CMake...