Skip to content

Commit 4bb5410

Browse files
committed
ci: ensure that CUDA_PATH is passed through
1 parent c4ec843 commit 4bb5410

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cuda_bindings/pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,13 @@ exclude = ["cuda/bindings/_version.py"]
114114
[tool.cibuildwheel]
115115
enable = "cpython-freethreading"
116116
build-verbosity = 1
117-
environment-pass = ["CUDA_PYTHON_PARALLEL_LEVEL"]
117+
environment-pass = ["CUDA_PATH", "CUDA_PYTHON_PARALLEL_LEVEL"]
118118

119119
[tool.cibuildwheel.linux]
120120
archs = "native"
121121
# CIBW mounts the host filesystem under /host
122-
environment = { CUDA_PATH = "/host/$CUDA_PATH" }
122+
environment-pass = ["CUDA_PATH"]
123+
environment = { CUDA_HOME = "/host/$CUDA_PATH" }
123124

124125
[tool.cibuildwheel.windows]
125126
before-build = "pip install delvewheel"

0 commit comments

Comments
 (0)