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
krita: refactor to fix build on aarch64 #45906
Conversation
An optional dependency, Vc, doesn't currently provide any optimisations on aarch64 and causes a build failure in krita. Exclude it from the build inputs on arm and aarch64.
cc @abbradar |
@GrahamcOfBorg build krita |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: krita Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: krita Partial log (click to expand)
|
Timed out, unknown build status on aarch64-linux (full log) Attempted: krita Partial log (click to expand)
|
I had built this commit on the community aarch64 machine. (Borg didn't pick it up presumably because a staging-next merge in-between.) |
Fine then. |
An optional dependency, Vc, doesn't currently provide any optimisations
on aarch64 and causes a build failure in krita. Exclude it from the
build inputs on arm and aarch64.
Motivation for this change
Krita doesn't build on aarch64. Neon support in Vc is listed as 'in development', so it's not clear whether Vc currently offers any benefits on these platforms anyway.
Things done
Excluded vc from the build inputs on arm and aarch64. As it is an optional dependency, this means that cmake doesn't find it, Vc support is disabled, and the build succeeds. Other platforms should be unaffected.
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)