Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ptheywood committed Apr 2, 2024
1 parent 5aae8d5 commit 1c1564d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/scripts/install_cuda_el8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Constants
## -------------------

# yum install cuda-nvrtc-devel-11-4 cuda-compiler-11-4 cuda-cudart-devel-11-4 cuda-nvcc-11-4 cuda-nvrtc-11-4 cuda-nvtx-11-4 libcurand-devel-11-4
# dnf install cuda-nvrtc-devel-11-4 cuda-compiler-11-4 cuda-cudart-devel-11-4 cuda-nvcc-11-4 cuda-nvrtc-11-4 cuda-nvtx-11-4 libcurand-devel-11-4

# List of sub-packages to install.
# @todo - pass this in from outside the script?
Expand Down Expand Up @@ -138,11 +138,11 @@ fi
## Install
## -----------------
echo "Adding CUDA Repository"
$USE_SUDO yum-config-manager --add-repo ${DNF_REPO_URI}
$USE_SUDO yum clean all
$USE_SUDO dnf config-manager --add-repo ${DNF_REPO_URI}
$USE_SUDO dnf clean all

echo "Installing CUDA packages ${CUDA_PACKAGES}"
$USE_SUDO yum -y install ${CUDA_PACKAGES}
$USE_SUDO dnf -y install ${CUDA_PACKAGES}

if [[ $? -ne 0 ]]; then
echo "CUDA Installation Error."
Expand Down

0 comments on commit 1c1564d

Please sign in to comment.