Skip to content

Commit

Permalink
update cuda backend from 11.8 to 12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
taoboyang committed Aug 6, 2024
1 parent 44622f1 commit f02766b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/build_ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,14 @@ function install_cuda_linux() {
apt-get -y install cuda-toolkit-11-8
elif [[ ${NAME} =~ "AlmaLinux" ]] && [[ ${VERSION_ID} == "8.10" ]]
then
original_ld_lib_path=$LD_LIBRARY_PATH
unset LD_LIBRARY_PATH
dnf install epel-release -y
dnf update -y
yum config-manager --add-repo http://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo
dnf install kernel-devel -y
dnf install cuda-11-8 -y

dnf install cuda-12-2 -y
export LD_LIBRARY_PATH=$original_ld_lib_path
fi
export PATH=${PATH}:/usr/local/cuda/bin
cd -
Expand Down

0 comments on commit f02766b

Please sign in to comment.