circt icon indicating copy to clipboard operation
circt copied to clipboard

[CI][Python] Add wheel releases for apple silicon

Open rsetaluri opened this issue 1 year ago • 2 comments

@mikeurbach I know we've discussed this in the past, but I've lost a bit of context. What is the latest on having a python wheel release for macOS apple silicon? Trying to install from PYPI on my M3 and it seems to not be supported.

Happy to make the changes if we have a general path forward.

rsetaluri avatar Jan 12 '24 20:01 rsetaluri

https://github.blog/changelog/2023-10-02-github-actions-apple-silicon-m1-macos-runners-are-now-available-in-public-beta/ might be a good resource

rsetaluri avatar Jan 12 '24 20:01 rsetaluri

The last I remember, we used to build "universal" wheels for MacOS, but this had issues and was removed in https://github.com/llvm/circt/pull/6158. The builds we make now are x86 specific. We can either try to make universal wheels work, which would be my preference, or support arm64 specific wheels for Apple silicon. My only concern is we don't put too much pressure on the space allocated on PyPI.

If you are interested in supporting this, please feel free to send a patch to enable automated wheel builds that work on Apple silicon.

mikeurbach avatar Jan 16 '24 18:01 mikeurbach