-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add binaries for Mac Silicon #249
Comments
Need extra env for cibuildwheel https://cibuildwheel.readthedocs.io/en/stable/faq/#apple-silicon Cmake must be instructed to cross-compile pypa/cibuildwheel#1345 (comment) If activated TBB should also be cross-compiled... not sure if this is worth supporting, maybe wait until mac silicon is natively available in Azure agents Higra/tools/cibuildwheel_osx.sh Line 14 in f58a301
|
Hi @PerretB, are you planning to add an Apple silicon binary? Some collaborators are compiling from source to use on their laptops. I really like using higra, thanks a lot for this package. cc: @ilan-francisco |
Hi Jordão, thank you for your feedback, it's a pleasure to know that Higra is useful to you. It's great news that your colleagues have been able to compile from source and use it on ARM because I never tested it :) I plan to add Mac ARM support, but I'm a bit stuck as free CI/CD pipelines don't currently offer such hardware. I can try to cross compile it from an x86 Mac, but then I don't know how to test the result, and I am very reluctant to publish non-tested wheels on Pypi. Microsoft Azure seems to have a plan for supporting this, but the issue looks staled microsoft/azure-pipelines-agent#3922 Maybe a temporary solution could be to publish untested wheels on github with a download link. It would not be as convenient as publishing it on Pypi as users would have to download the wheel manually, but it would still be easier than compiling it manually. On a side note: another solution for your colleagues is to install the amd_x86 version of Python with Rosetta 2. |
Thanks for the quick reply @PerretB. |
Hey there, I just wanted ask what is the matter on this subject since arm64 runners are now available on GitHub (https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/). |
Oh thank you for pointing this. I'll set up the CI/CD then, hopefully everything goes smoothly, and binaries will be available soon for Mac silicon Edit: apparently ATM only Github actions supports M1, but not Azure pipelines actions/runner-images#7508 (comment) (which this repo is currently using). Updated issue on azure agents, seems to be moving actions/runner-images#8971 |
mac-arm64 is now supported through conda higra-feedstock thanks to @JoOkuma
It will be added to Pypi as soon as arm64 agents are available on Azure pipelines. |
Probably need to cross compile with CiBuildWheel
The text was updated successfully, but these errors were encountered: