You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have successfully managed to install OMpy on my MacBook with the M1-chip. However, I had problems with some of the compilation flags in setup.py. The consequence was that the command
pip install -e .
failed.
Fix:
The workaround for me has been to remove the flags "march=native" and "mfpmath=sse" in setup.py, which seem to be invalid for Apple M1. Then the pip installation works fine.
The text was updated successfully, but these errors were encountered:
I've made a PR with a fix. In theory the march=native flag shouldn't break any compilation as it tells the compiler only to optimise for the specific CPU of the system. The mfpmath=sse flag is x86 specific. I've changed the setup to ensure that this is disabled for non-x86 platforms.
I have successfully managed to install OMpy on my MacBook with the M1-chip. However, I had problems with some of the compilation flags in setup.py. The consequence was that the command
failed.
Fix:
The workaround for me has been to remove the flags "march=native" and "mfpmath=sse" in setup.py, which seem to be invalid for Apple M1. Then the pip installation works fine.
The text was updated successfully, but these errors were encountered: