diff --git a/build_files/build_environment/linux/linux_rocky8_setup.sh b/build_files/build_environment/linux/linux_rocky8_setup.sh index 8f3e3562e53..af661667f00 100644 --- a/build_files/build_environment/linux/linux_rocky8_setup.sh +++ b/build_files/build_environment/linux/linux_rocky8_setup.sh @@ -90,6 +90,11 @@ PACKAGES_FOR_LIBS=( texinfo # NOTE(@ideasman42): `nvcc` will *not* be added to the `PATH`, must be done manually. + # Commands from: + # https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#environment-setup + # Can be added to `~/.bash_profile`. + # `export LD_LIBRARY_PATH=/usr/local/cuda-12.5/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}` + # `export PATH=/usr/local/cuda-12.5/bin${PATH:+:${PATH}}` # Required by `external_openimagedenoise` (`nvcc` command) cuda-toolkit @@ -175,3 +180,24 @@ yum -y install -y \ # Required by Blender build option: `WITH_JACK`. yum -y install jack-audio-connection-kit-devel + +# AMD's ROCM +# Based on instructions from: +# https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/native-install/rhel.html +# NOTE: the following steps have intentionally been skipped as they aren't needed: +# - "Register kernel-mode driver". +# - "Install kernel driver". + +# Register ROCm packages +rm -f /etc/yum.repos.d/rocm.repo +tee --append /etc/yum.repos.d/rocm.repo <