[Qiskit] Bump to version 2.3.0#12935
Conversation
|
The CI failure on macOS x86_64 seems to be related to the following warning: Note in the Qiskit documentation, it is stated that macOS 10.12 or higher is required on this architecture. This architecture has also been demoted to "Tier 2" support with the most recent Qiskit release. |
|
Export the environment variable |
I've been playing with this variable, but so far I haven't found a version that actually fixes the link error yet. So far I have tried up to |
|
That's probably not the issue then, aarch64-darwin uses the 11.0 SDK. But upgrading to the SDK 11.0 may help, the error is https://buildkite.com/julialang/yggdrasil/builds/26573#019bb42d-b578-48de-85b9-6d071cb36850/L1765 The repo https://github.com/phracker/MacOSX-SDKs has the SDKs 10.1.5 - 11.3 and searching for See Yggdrasil/R/rcodesign/build_tarballs.jl Lines 5 to 6 in a6976a0 Yggdrasil/R/rcodesign/build_tarballs.jl Lines 30 to 31 in a6976a0 |
| if [[ "${target}" == x86_64-apple-darwin* ]]; then | ||
| # Qiskit requires macOS 10.12 or higher on this platform. | ||
| export MACOSX_DEPLOYMENT_TARGET=10.12 | ||
| fi | ||
|
|
There was a problem hiding this comment.
Note that the function require_macos_sdk already sets the environment variable:
Yggdrasil/platforms/macos_sdks.jl
Line 125 in 24274e7
|
The key part of the CI failure appears to be Also, when I run the build now locally, I see many I/O errors and they continue from there. |
More specifically: We have a tiny
Ah, unfortunately that's expected if you're using Docker (e.g. on macOS) |
|
The problem with the tmp partition is probably the same as #10590 (comment) and #10853. Edit: no, that's a different issue, that was about location of |
|
For Yggdrasil/P/pixi/build_tarballs.jl Lines 14 to 16 in 4e5303d |
|
New error, that's progress! Ok, now that's #10590 (comment) and #10853! 😁 |
|
The x86_64 musl build succeeds, but the others fail. It seems that after setting |
|
Just based on the message you posted, that sounds as if the build procedure builds n executable for the target OS (via cross compiler) and then tries to run it on the host, which won't work unless host and target match (i.e., musl x86_64). If that executable really needs to be run on the build host, it needs to be built with the host compiler instead. |
This reverts commit 4da7fc0.
Two reasons, really: 1. It's proving difficult to build 2. It's been demoted by the Qiskit developers to the status of a Tier 2 platform.
|
Seems to pass CI now, congrats (but is still marked as a draft) |
No description provided.