hello! i'm trying to build grease, does anyone know where "bb.h" might be found? https://github.com/phronmophobic/grease/blob/325a049bc1a1c7a18be8520be6f14122b2b6cf00/xcode/TestSkia/TestSkia/MembraneView.h#L9
I hope @smith.adriane will be able to answer this question :)
Hi @eskinjp, "bb.h" is created by graalvm's native-image during the ./scripts/compile-shared step. Are you following the steps from https://github.com/phronmophobic/grease#usage ?
I just reran the gitbhub CI action to make sure things are still working. You can see what a typical output looks like in the log output, https://github.com/phronmophobic/grease/actions/runs/4907952002/jobs/8763390832.
@smith.adriane ahh thank you for pointing me in the right direction, i did follow those steps but i wasn't paying attention and didn't notice that command errored out with Error: Missing CAP cache value for: NativeCodeInfo:AArch64LibCHelperDirectives:StructInfo:CPUFeatures:StructFieldInfo:fDMB_ATOMICS
i'll try to figure out what's going on with that
My best guess is that there is some version dependency
You can see the versions I use here, https://github.com/phronmophobic/grease/blob/main/.github/workflows/mobiletest.yml
are you on an M1 mac?
I would try with graalvm-ce-java17-22.0.0.2 to see if that helps
yeah i'm on M1 mac, i've been copying commands out of that file and it got past where it failed for me previously at least!
i was running some graalvm homebrew cask i found before, looks like it was version graalvm-ce-java17-22.3.1
ok, if you can confirm that having a different version caused it to fail, then I can update the docs to mention. At some point, I can look into either updating to the latest version or making the process more tolerant of different versions.
yup it built successfully, thanks for the help!