Craft on M1 (arm) macOS

Albert Vaca Cintora albertvaka at gmail.com
Wed Mar 8 23:08:49 GMT 2023


I opened a MR [1] but then realized I got ninja'd [2]. Everything is
working now, sorry for the noise :)

[1] https://invent.kde.org/packaging/craft-blueprints-kde/-/merge_requests/540
[2] https://invent.kde.org/packaging/craft-blueprints-kde/-/commit/f52d6c1e3b9fa5b3e5cdd02cd7cc4d9897971599

On Wed, Mar 8, 2023 at 11:55 PM Albert Vaca Cintora
<albertvaka at gmail.com> wrote:
>
> It seems the solution is to change "-DENABLE_SSE2=ON" to
> "-DENABLE_SSE2=OFF" in configure.args.
>
> I'll try to make this conditional based on the architecture and send a MR.
>
> On Wed, Mar 8, 2023 at 11:46 PM Albert Vaca Cintora
> <albertvaka at gmail.com> wrote:
> >
> > Hi,
> >
> > Is somebody using Craft on an ARM-based macOS already? I tried it
> > today but libfftw is failing to build:
> >
> > /Users/albert.cintora/kde/build/libs/libfftw/work/fftw-3.3.8/simd-support/x86-cpuid.h:208:42:
> > error: invalid output constraint '=a' in asm
> >
> > It looks like it's trying to build x86 assembly and failing, probably
> > because something isn't aware of my hardware (even though I have `ABI
> > = macos-clang-arm64` in CraftSettings.ini).
> >
> > Is this an unexpected bug or am I entering uncharted territory by
> > trying to build on ARM?
> >
> > Albert


More information about the Kde-windows mailing list