Skip to content

Commit 08a5fe5

Browse files
github-actions[bot]actions-userbmhowe23anjbur
authored
Bump CUDA-Q commit (#551)
Auto update to the latest CUDA-Q commit on main branch --------- Signed-off-by: Ben Howe <bhowe@nvidia.com> Signed-off-by: Angela Burton <angelab@nvidia.com> Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Ben Howe <bhowe@nvidia.com> Co-authored-by: Angela Burton <angelab@nvidia.com>
1 parent e70c483 commit 08a5fe5

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

.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": "053480dda0413c219c224d42313aa14d7a17a7fe"
4+
"ref": "67404cea365c0f78a9319f89ef634afca15011c8"
55
}
66
}

.github/workflows/scripts/build_cudaq.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ echo "Building MLIR bindings for ${python}" && \
110110
CUDAQ_PATCH='diff --git a/CMakeLists.txt b/CMakeLists.txt
111111
--- a/CMakeLists.txt
112112
+++ b/CMakeLists.txt
113-
@@ -709,8 +709,8 @@ if(CUDAQ_BUILD_TESTS)
113+
@@ -696,9 +696,9 @@ if(CUDAQ_BUILD_TESTS)
114114
endif()
115115
116116
if (CUDAQ_ENABLE_PYTHON)
@@ -119,12 +119,13 @@ CUDAQ_PATCH='diff --git a/CMakeLists.txt b/CMakeLists.txt
119119
+ find_package(Python 3 COMPONENTS Interpreter Development.Module)
120120
+ find_package(Python3 COMPONENTS Interpreter Development.Module)
121121
122-
# Apply specific patch to pybind11 for our documentation.
123-
# Only apply the patch if not already applied.
122+
add_subdirectory(tpls/nanobind)
123+
124+
add_subdirectory(python)
124125
diff --git a/python/runtime/cudaq/domains/plugins/CMakeLists.txt b/python/runtime/cudaq/domains/plugins/CMakeLists.txt
125126
--- a/python/runtime/cudaq/domains/plugins/CMakeLists.txt
126127
+++ b/python/runtime/cudaq/domains/plugins/CMakeLists.txt
127-
@@ -33,7 +33,7 @@ if (SKBUILD)
128+
@@ -33,6 +33,6 @@ if (SKBUILD)
128129
else()
129130
target_link_libraries(cudaq-pyscf
130131
PRIVATE
@@ -139,4 +140,3 @@ echo "$CUDAQ_PATCH" | git apply --verbose
139140
$python -m venv --system-site-packages .venv
140141
source .venv/bin/activate
141142
CUDAQ_BUILD_TESTS=FALSE bash scripts/build_cudaq.sh -v ${cudaq_ninja_jobs_arg}
142-

scripts/ci/build_cudaq_wheel.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,28 +87,29 @@ echo "Building CUDA-Q."
8787
cd /cuda-quantum
8888

8989
CUDAQ_PATCH='diff --git a/CMakeLists.txt b/CMakeLists.txt
90-
index dc906f615..5d591ea06 100644
9190
--- a/CMakeLists.txt
9291
+++ b/CMakeLists.txt
93-
@@ -682,7 +682,7 @@ if(CUDAQ_BUILD_TESTS)
92+
@@ -696,9 +696,9 @@ if(CUDAQ_BUILD_TESTS)
9493
endif()
9594
9695
if (CUDAQ_ENABLE_PYTHON)
9796
- find_package(Python 3 COMPONENTS Interpreter Development)
97+
- find_package(Python3 COMPONENTS Interpreter Development)
9898
+ find_package(Python 3 COMPONENTS Interpreter Development.Module)
99+
+ find_package(Python3 COMPONENTS Interpreter Development.Module)
99100
100-
# Apply specific patch to pybind11 for our documentation.
101-
# Only apply the patch if not already applied.
101+
add_subdirectory(tpls/nanobind)
102+
103+
add_subdirectory(python)
102104
diff --git a/python/runtime/cudaq/domains/plugins/CMakeLists.txt b/python/runtime/cudaq/domains/plugins/CMakeLists.txt
103-
index 675919e25..7de85b815 100644
104105
--- a/python/runtime/cudaq/domains/plugins/CMakeLists.txt
105106
+++ b/python/runtime/cudaq/domains/plugins/CMakeLists.txt
106-
@@ -31,7 +31,7 @@ else()
107-
endif()
107+
@@ -33,6 +33,6 @@ if (SKBUILD)
108+
else()
108109
target_link_libraries(cudaq-pyscf
109110
PRIVATE
110-
- Python::Python pybind11::pybind11
111-
+ Python::Module pybind11::pybind11
111+
- nanobind-static Python3::Python
112+
+ nanobind-static Python3::Module
112113
cudaq-chemistry cudaq-operator cudaq cudaq-py-utils cudaq-platform-default)
113114
endif()
114115
'
@@ -118,4 +119,3 @@ echo "$CUDAQ_PATCH" | git apply --verbose
118119
$python -m venv --system-site-packages .venv
119120
source .venv/bin/activate
120121
CUDAQ_BUILD_TESTS=FALSE bash scripts/build_cudaq.sh -v
121-

0 commit comments

Comments
 (0)