File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "cudaq": {
33 "repository": "NVIDIA/cuda-quantum",
4- "ref": "30e0737b4f8d5b580d8b97c3352458122485568e "
4+ "ref": "da8d0430a2b039f40924c6b27d744cfe0197414b "
55 }
66}
Original file line number Diff line number Diff line change @@ -45,12 +45,9 @@ echo "Building MLIR bindings for ${python}" && \
4545echo " Building CUDA-Q wheel for ${python} ."
4646cd /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
5653echo " Building wheel for python${python_version} ."
You can’t perform that action at this time.
0 commit comments