Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zgpu] Add option to compile dawn yourself #593

Open
terraquad opened this issue May 12, 2024 · 1 comment
Open

[zgpu] Add option to compile dawn yourself #593

terraquad opened this issue May 12, 2024 · 1 comment

Comments

@terraquad
Copy link
Contributor

terraquad commented May 12, 2024

I wanted to make my codebase compile offline (since all the zig-gamedev libraries are already there) and now I wanted to do the same with zgpu.
Sadly there aren't any guides (afaik) on how to compile dawn yourself instead of pulling the prebuilt binaries from github.

Would you mind adding that?

@hazeycode
Copy link
Member

hazeycode commented May 13, 2024

You can remove the remote dependency by downloading those repos and changing your build.zig dependency URLs to local paths. Does that work for you?

As for building Dawn from source; it's not simple. There's this out of date draft PR: #463

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants