Skip to content

Commit f0e4d55

Browse files
Bump CUDA-Q commit (#330)
Auto update to the latest CUDA-Q commit on main branch
1 parent 63455f2 commit f0e4d55

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.cudaq_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"cudaq": {
33
"repository": "NVIDIA/cuda-quantum",
4-
"ref": "30e0737b4f8d5b580d8b97c3352458122485568e"
4+
"ref": "da8d0430a2b039f40924c6b27d744cfe0197414b"
55
}
66
}

scripts/ci/build_cudaq_wheel.sh

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,9 @@ echo "Building MLIR bindings for ${python}" && \
4545
echo "Building CUDA-Q wheel for ${python}."
4646
cd /cuda-quantum
4747

48-
# Patch the pyproject.toml file to change the CUDA version if needed
49-
if [ "${CUDA_VERSION#12.}" != "${CUDA_VERSION}" ]; then \
50-
sed -i "s/-cu11/-cu12/g" pyproject.toml && \
51-
sed -i -E "s/(nvidia-cublas-cu[0-9]* ~= )[0-9\.]*/\1${CUDA_VERSION}/g" pyproject.toml; \
52-
sed -i -E "s/(nvidia-cuda-runtime-cu[0-9]* ~= )[0-9\.]*/\1${CUDA_VERSION}/g" pyproject.toml; \
53-
fi
48+
# Select the correct pyproject.toml file.
49+
rm -f pyproject.toml # remove the symlink if it exists
50+
cp pyproject.toml.cu${CUDA_VERSION} pyproject.toml
5451

5552
# Build the wheel
5653
echo "Building wheel for python${python_version}."

0 commit comments

Comments
 (0)