From 4f048844f6691eaa68ee896a8f95c472338966cb Mon Sep 17 00:00:00 2001 From: Robert Schoene Date: Wed, 26 Jun 2024 16:14:15 +0200 Subject: [PATCH] remove cuda install packages after installation --- .github/workflows/cmake.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 39af37f0..b18b899d 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -51,15 +51,21 @@ jobs: sudo sh cuda_8.0.61_375.26_linux-run --extract=${CUDA_ROOT} sudo sh ${CUDA_ROOT}/cuda-linux64-rel-8.0.61-21551265.run --tar mxvf -C ${CUDA_ROOT} sudo sh cuda_8.0.61.2_linux-run --accept-eula --silent --installdir=${CUDA_ROOT} + rm cuda_8.0.61_375.26_linux-run + rm cuda_8.0.61.2_linux-run ;; 11.0) wget https://developer.download.nvidia.com/compute/cuda/11.0.3/local_installers/cuda_11.0.3_450.51.06_linux.run sudo sh cuda_11.0.3_450.51.06_linux.run --toolkit --toolkitpath=${CUDA_ROOT} --override --silent + rm cuda_11.0.3_450.51.06_linux.run ;; NVHPC-22.5) wget https://developer.download.nvidia.com/hpc-sdk/22.5/nvhpc_2022_225_Linux_x86_64_cuda_11.7.tar.gz tar xpzf nvhpc_2022_225_Linux_x86_64_cuda_11.7.tar.gz + rm nvhpc_2022_225_Linux_x86_64_cuda_11.7.tar.gz sudo NVHPC_SILENT="true" NVHPC_INSTALL_DIR="$CUDA_ROOT" NVHPC_INSTALL_TYPE="single" ./nvhpc_2022_225_Linux_x86_64_cuda_11.7/install + rm -rf nvhpc_2022_225_Linux_x86_64_cuda_11.7 + esac - name: Install OneAPI Base-Toolkit (if needed) if: matrix.ONEAPI != '0' && matrix.CUDA == '0'