mach icon indicating copy to clipboard operation
mach copied to clipboard

gpu-dawn: Zig package manager needs optional dependencies

Open emidoots opened this issue 2 years ago • 2 comments

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

emidoots avatar Jul 31 '23 05:07 emidoots

maybe would be solved by https://github.com/ziglang/zig/issues/8070

emidoots avatar Nov 07 '23 17:11 emidoots

https://github.com/ziglang/zig/issues/14597

emidoots avatar Nov 07 '23 17:11 emidoots

https://github.com/hexops/mach/issues/1166#issuecomment-2212990680

emidoots avatar Jul 08 '24 13:07 emidoots