Skip to content

Commit 5f2a827

Browse files
committed
fixup
1 parent 1eac57c commit 5f2a827

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/scripts/install_cuda_el8.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CUDA_PACKAGES_IN=(
1818
"cuda-nvtx"
1919
"cuda-nvrtc-devel"
2020
"libcurand-devel" # 11-0+
21-
"libnvjitlink-devel"
21+
"libnvjitlink-devel" #12-0+
2222
)
2323

2424
## -------------------
@@ -91,6 +91,9 @@ do :
9191
if [[ ${package} == libcu* ]] && version_lt "$CUDA_VERSION_MAJOR_MINOR" "11.0" ; then
9292
package="${package/libcu/cuda-cu}"
9393
fi
94+
# libnvjitlink not required prior to CUDA 12.0
95+
if [[ ${package} == libnvjitlink-dev* ]] && version_lt "$CUDA_VERSION_MAJOR_MINOR" "12.0" ;then
96+
continue
9497
# CUDA < 11, -devel- packages were actually -dev
9598
if [[ ${package} == *devel* ]] && version_lt "$CUDA_VERSION_MAJOR_MINOR" "11.0" ; then
9699
package="${package//devel/dev}"

0 commit comments

Comments
 (0)