qir-alliance / pyqir

PyQIR is a set of APIs for generating, parsing, and evaluating Quantum Intermediate Representation (QIR).
https://qir-alliance.github.io/pyqir
MIT License
54 stars 24 forks source link

CI for Apple Silicon #215

Closed bamarsha closed 7 months ago

bamarsha commented 1 year ago

We need CI for macOS on Apple Silicon (arm64) so that tests and wheels can be automated. We depend on GItHub-hosted runners, so this is blocked by github/roadmap#528 and actions/runner-images#2187.

arcondello commented 1 year ago

I believe that you can use emulators to build/test macOS Apple Silicon and manylinux aarch64. Specifically something like pypa's cibuildwheel. It actually works with GitHub Actions out of the box. I am not entirely sure how it would interact with the LLVM and Rust install steps, but I would be willing to take a crack at getting it to work if there's interest.

idavis commented 7 months ago

Fixed in #260