Skip to content

Commit

Permalink
slc9-gpu-builder: Clean dnf cache before building
Browse files Browse the repository at this point in the history
  • Loading branch information
singiamtel committed Nov 19, 2024
1 parent 59ef229 commit ad98900
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion slc9-gpu-builder/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ wipednf () {
rm -rf /var/cache/yum
}

wipednf

# Install AMD APP Stack
# Old version no longer available from AMD but the newer versions will not work
curl -fsSL https://s3.cern.ch/swift/v1/alibuild-repo/slc8-gpu-builder-reqs/amdappsdk.tar.bz2 | tar -xjv
Expand All @@ -24,7 +26,7 @@ curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64
echo "${NVIDIA_GPGKEY_SUM} /etc/pki/rpm-gpg/RPM-GPG-KEY-NVIDIA" | sha256sum -c --strict -

# rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux
dnf update -y
dnf update -y --refresh
# Install requirements for GPU event display, NVIDIA CUDA and AMD ROCm stacks
CUV=${CUDA_PKG_VERSION}-${CUDA_PKG_VERSION/-/.}.*
dnf install -y freeglut-devel lsof \
Expand Down

0 comments on commit ad98900

Please sign in to comment.