mach
mach copied to clipboard
gpu-dawn: Zig package manager needs optional dependencies
If the Zig package manager supported optional dependencies, then it would be possible for us to use the package manager to fetch the Dawn sources and build them.
To workaround this, we shell out to git clone whenever the user actually wants this.
Note that Dawn source code is rather large, so simply always depending on it is not feasible.
See also https://github.com/hexops/dawn/pull/12
maybe would be solved by https://github.com/ziglang/zig/issues/8070
https://github.com/ziglang/zig/issues/14597
https://github.com/hexops/mach/issues/1166#issuecomment-2212990680