QuTech-Delft / OpenQL

OpenQL: A Portable Quantum Programming Framework for Quantum Accelerators. https://dl.acm.org/doi/10.1145/3474222
https://openql.readthedocs.io
Other
99 stars 44 forks source link

Fix x64 vs x86 selection on Windows #371

Closed jvanstraten closed 3 years ago

jvanstraten commented 3 years ago

setup.py was not correctly configuring CMake/MSVC to build a 32-bit or 64-bit library based on the bitness of the Python installation; the selection was defaulting to 32-bit. This adds a check in setup.py for this situation and configures CMake accordingly.