Skip to content

Commit 2fbc86c

Browse files
Update pyproject.toml
1 parent ad901ae commit 2fbc86c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pyproject.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ xbuild-tools = ["cmake", "ninja"]
1212
[tool.cibuildwheel.environment]
1313
cuda = "12.9"
1414
temp = "/tmp/cuda-temp"
15-
# CUDA_PATH = "/usr/local/cuda-${cuda}"
16-
# PATH = "${PATH}:${CUDA_PATH}/bin"
17-
# LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${CUDA_PATH}/lib:${CUDA_PATH}/lib64"
1815

1916
[tool.cibuildwheel.linux]
2017
before-all = [
2118
"chmod +x tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-rhel.sh",
22-
"dnf -y install redhat-lsb-core wget",
19+
"dnf -y install redhat-lsb-core wget gcc g++",
2320
". tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-rhel.sh"
2421
]
2522
xbuild-tools = ["cmake", "ninja"]
23+
24+
[tool.cibuildwheel.linux.environment]
25+
CUDA_PATH = "/usr/local/cuda-${cuda}"
26+
PATH = "${PATH}:${CUDA_PATH}/bin"
27+
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${CUDA_PATH}/lib:${CUDA_PATH}/lib64"

0 commit comments

Comments
 (0)