qiskit-aer: Add version 0.17.2 - #2262
Merged
Merged
Conversation
CPU-only default build: CUDA/ROCm/MPI are all opt-in in upstream's own CMakeLists/setup.py, and the only x86 SIMD (AVX2) is compiled out entirely on non-x86_64 hosts rather than emulated. Mirrors the cvxopt/scs openblas-devel pattern for BLAS. cp314t is dropped: qiskit, a hard runtime and test dependency, only has a cp310-abi3 wheel on the registry, which a free-threaded interpreter cannot install.
luhenry
added a commit
that referenced
this pull request
Sep 24, 2026
Contributor
|
Conan 1.x (pinned by pyproject.toml's conan<2.0.0) has no riscv64 in its settings.yml, and its arch autodetection matches "riscv64" against the generic "64 in machine" fallback and misreports arch=x86_64. That makes its CMakeToolchain generator inject an x86-only -m64 flag when it builds fmt/8.0.1 from source, which the riscv64 GCC toolchain rejects. Pre-seed Conan's settings.yml and default profile with the real arch before CMake invokes it, so it never runs autodetection.
…'s settings.yml
The first fix only added riscv64 to settings.yml's arch: enum, but Conan
1.x validates arch_build/arch_target against two SEPARATE enum lists in
the same file - the default profile sets arch_build=riscv64, which still
failed validation ('Invalid setting riscv64 is not a valid arch_build
value') even after the arch fix let the build get further than before.
Verified locally against the real Conan 1.66.0 settings.yml that patching
all three resolves it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
qiskit-aer0.17.2Compiles Qiskit's C++ statevector/density-matrix simulators (pybind11 bindings) linked against OpenBLAS. Upstream publishes no riscv64 wheel.
Mirrors upstream's
deploy.ymlwheel-build job andpyproject.toml's[tool.cibuildwheel]table.Differs from upstream
dnf install openblas-develreplaces the manylinux2014 yum before-all - Rocky 10 image, no EPEL neededCIBW_MANYLINUX_RISCV64_IMAGEoverride - riscv64 has no manylinux2014 imageMatrix: cp312/cp313/cp314 only - qiskit, a hard runtime and test dependency, has no free-threaded wheel on the registry
Testing
License: Wheel bundles libopenblas (BSD-3-Clause) and, via auditwheel, the image's libgfortran (GPL-2.0-or-later); neither licence ships upstream, so both are added.