Skip to content
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

Use CMAKE_SYSTEM_NAME and CMAKE_SYSTEM_PROCESSOR for cross-compiling #652

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

basnijholt
Copy link
Contributor

Currently, the way that CMake checks for architecture doesn't allow for cross compiling for MacOS ARM64. This PR fixes that.

It is based on 0009-Use-CMAKE_SYSTEM_NAME-and-CMAKE_SYSTEM_PROCESSOR-for.patch in the conda-forge feedstock where we build a working qsim version that runs on MacOS ARM64 machines.

basnijholt added a commit to basnijholt/qsimcirq-feedstock that referenced this pull request Jan 31, 2024
@95-martin-orion 95-martin-orion added the kokoro:run Trigger Kokoro builds for this PR. label Jan 31, 2024
@qsim-qsimh-bot qsim-qsimh-bot removed the kokoro:run Trigger Kokoro builds for this PR. label Jan 31, 2024
@NoureldinYosri NoureldinYosri added the kokoro:run Trigger Kokoro builds for this PR. label Jan 31, 2024
@qsim-qsimh-bot qsim-qsimh-bot removed the kokoro:run Trigger Kokoro builds for this PR. label Jan 31, 2024
@NoureldinYosri NoureldinYosri merged commit a48b264 into quantumlib:master Jan 31, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants