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

Add option to compile dawn yourself #4

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

Add option to compile dawn yourself #4

terraquad opened this issue May 12, 2024 · 1 comment

Comments

@terraquad
Copy link

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: zig-gamedev/zig-gamedev#463

@hazeycode hazeycode transferred this issue from zig-gamedev/zig-gamedev Nov 5, 2024
@hazeycode hazeycode changed the title [zgpu] Add option to compile dawn yourself Add option to compile dawn yourself Nov 5, 2024
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