-
Notifications
You must be signed in to change notification settings - Fork 18
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
Unable to build dawn #83
Comments
Are you using the latest XCode version tooling? |
These steps are also executed automatically on our github actions: https://github.com/wcandillon/react-native-webgpu/blob/main/.github/workflows/build-dawn.yml so this might help as well. Maybe it would be fun to have a script in the example so if the prebuild binaries are not available, download them from Github. Maybe it's something you could setup/contribute. |
If you replace the -O3 with -O2 on the command line, does that fix it? This is ultimately an Internal Compiler Error in Xcode’s clang, so the issue is there. That said, there is hopefully a workaround that doesn’t dramatically impact end-to-end performance. |
@wcandillon Yeah, this would be really useful. I'll try to implement this once I get the build working locally :) For now I've created a draft PR adding visionOS support to see if maybe the CI will build it properly: #88 |
Im running Xcode 16 beta, but I've also tested out Xcode 15, no luck on both.
Looks like it's passed to some dependency of dawn but one of their build scripts, I'll try to check if but if its working for William then it must be something on my machine |
I guess we can close this right? |
Hey,
I'm trying to build dawn on iOS but unfortunately Im encoutering a build issue.
Steps:
git submodule update --init
cd package && yarn
yarn build-dawn
<- failsIs there anything I missed?
The error:
The text was updated successfully, but these errors were encountered: