mwhittaker / quoracle

A Swiss Army knife for read-write quorum systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apple M1 support

heidihoward opened this issue · comments

Quoracle does not work out of the box on the new Apple M1s because it depends on numpy which does not have M1 support. After trying various workaround (including running terminal through rosetta), this solution worked for me.

No action needed, I just wanted to document this workaround until numpy is updated.

Oh wow, thanks for figuring this out and finding a solution Heidi! Hopefully numpy gets updated soon.

Outside of some code that makes plots, quoracle only really uses numpy in one spot, so we can probably rewrite the code a little to use pure Python and remove numpy as a dependency entirely. I'll add that to my TODO list :)

In commits 6bb6eb2, 9f0532a, and a4dfc6f, I removed the dependency on numpy. We still depend on matplotlib, though, and I think matplotlib depends on numpy, so trying to pip install quoracle on an Apple M1 will probably still fail I'm guessing. For that though, I think we just have to wait for things to get fixed upstream :)

Agreed, it should just be a matter of time before numpy is updated for M1 :)