PhotoshopAPI icon indicating copy to clipboard operation
PhotoshopAPI copied to clipboard

Add support for ARM based Mac chips

Open EmilDohne opened this issue 1 year ago • 2 comments

This appears to only fail on compilation of our AVX2 intrinsics which we can simply opt out of if we detect arm based machines and in the future we can add arm based intrinsics

EmilDohne avatar Mar 07 '24 10:03 EmilDohne

Initial support for this has been added but unfortunately due to issues with GCC and Xcode15 we cannot run the tests as expected failures which throw std::runtime_error() instead segfault the processes. The tests up to the expected failures do run properly which is why we will temporarily add a workaround for these disabling them at compile time. This is unfortunate as it reduces test robustness but until a fix is implemented this will have to be the implementation

EmilDohne avatar Mar 08 '24 11:03 EmilDohne

As I am adding support for this the same issues propagate to the python bindings when using e.g. a

try:

except RuntimeError:

code block as ARM-based macs will segfault here as well. Despite support for this being added this ticket will remain open until we find a solution to this problem (likely just waiting for xcode updates to propagate to gh runners)

EmilDohne avatar Mar 08 '24 15:03 EmilDohne

I'm closing this as this doesn't have anything to do with our code and no other complaints have been raised thus far

EmilDohne avatar Feb 28 '25 07:02 EmilDohne