This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Description
Building on Mac-ARM fails with some basic errors, the first one being:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/include/mmintrin.h:33:5: error:
use of undeclared identifier '__builtin_ia32_emms'; did you mean '__builtin_isless'?
__builtin_ia32_emms();
^
After a bit of googling I've found this document with information about the issue: https://clang.llvm.org/compatibility.html#vector_builtins
In particular, this line looks relevant:
The same issue occurs for NEON and Altivec for the ARM and PowerPC architectures respectively. For these, make sure to use the <arm_neon.h> and <altivec.h> headers.
So are Mac-ARM builds supported at all? What would be needed to add support if not?