Skip to content

Macos universal fat binaries (ARM and x86) from arm macos

Ivan Yossi requested to merge ivany/krita:arm-macos into master

Updates all dependencies to be compiled on arm macos. Most fixes is to explicitly ask for SSE optimizations to be turned off.

Notes:

  • Need to test this on x86 compile
  • ARM compile was only triggered on "universal" cmake bynaries (3.19.20201211-ge9a613b)
  • Python related deps cannot be compiled yet (updating python to latest version will solve this, my patches for 3.8 were not sucessful)
  • missing Libheif arm compilation (working on a patch)

Things to do

  • Finish all arm dependencies
  • Make krita build on arm (currently only x86 is forced
  • Crosscompile to x86 on the arm machine
  • generate universal binary using lipo

Test Plan

(Tell us how to test the changes you made.)

Formalities Checklist

  • I confirmed this builds.
  • I made sure my code conforms to the standards set in the HACKING file.
  • I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.
Edited by Ivan Yossi

Merge request reports