Skip to content

Use CMAKE_SYSTEM_NAME and CMAKE_SYSTEM_PROCESSOR for cross-compiling#652

Merged
NoureldinYosri merged 2 commits into
quantumlib:masterfrom
basnijholt:arm64
Jan 31, 2024
Merged

Use CMAKE_SYSTEM_NAME and CMAKE_SYSTEM_PROCESSOR for cross-compiling#652
NoureldinYosri merged 2 commits into
quantumlib:masterfrom
basnijholt:arm64

Conversation

@basnijholt
Copy link
Copy Markdown
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
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