-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
ci: add Linux cross-compile build #12428
base: master
Are you sure you want to change the base?
Conversation
@jeffbolznv I am having an issue with the cross-compile build missing an extension. Here I arbitrarily selected Riscv for the cross-compile, and although I can pull
|
Pipeline robustness is a pretty old extension at this point - changelog says "July 14, 2022 Vulkan 1.3.221". I had recently seen 1.3.261.1 SDK used in one of the CI jobs, so maybe there's an even older version used in another job? We can potentially change the code to make it not rely on this, but it would be better to get all builds on a more recent SDK. |
Looks like updating to "ubuntu-latest" may have fixed that issue. I'm seeing a different one, which might indicate an issue with the generated shaders.
|
This looks similar to issues like #11695. I suspect these are due to using a different glslc in the two environments (i.e. compilation actually happens with an older glslc than the feature detection does). Maybe there's some logging you can add to the cmake to see if that's happening? |
This change introduces a cross-compile build targeting Riscv on Linux. The goal is to reduce regression issues associated with cross-compiling and to serve as an example how to cross-compile using Ubuntu. In the future we can update this to store artifacts if there is a larger demand to run on Riscv (or other) hardware.