gpu-dawn: Zig package manager needs optional dependencies #901

Closed
opened 2023-07-31 05:08:50 +00:00 by emidoots · 3 comments
emidoots commented 2023-07-31 05:08:50 +00:00 (Migrated from github.com)

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

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 commented 2023-11-07 17:33:14 +00:00 (Migrated from github.com)
maybe would be solved by https://github.com/ziglang/zig/issues/8070
emidoots commented 2023-11-07 17:41:23 +00:00 (Migrated from github.com)
https://github.com/ziglang/zig/issues/14597
emidoots commented 2024-07-08 13:06:03 +00:00 (Migrated from github.com)
https://github.com/hexops/mach/issues/1166#issuecomment-2212990680
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#901
No description provided.