Closed okwasniewski closed 1 week ago
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. And you can download the prebuilt binaries directly if you want to skip this step altogether: https://github.com/wcandillon/react-native-webgpu/actions/runs/10156718895
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: https://github.com/wcandillon/react-native-webgpu/pull/88
Are you using the latest XCode version tooling?
Im running Xcode 16 beta, but I've also tested out Xcode 15, no luck on both.
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.
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
Oh finally I've been able to run this on iOS. Dawn is now successfully building for iOS and visionOS but something is still wrong in the copy headers step.. I've took the cpp folder from the Github CI/CD and only then it worked! Im going to investigate this
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: