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

Set all llvm targets when compiling for mac #276

Closed idavis closed 1 month ago

idavis commented 2 months ago

When cross compiling LLVM on macos, the LLVM target (platforms it targets, not the build arch) was always set to NATIVE which would be x86_64 for ADO builds. As such, when the universal and aarch64 builds are created, they would run correctly until you tried to use LLVM.