From e3708ce781af8d218e92f103795162bd8baf0f31 Mon Sep 17 00:00:00 2001 From: Justin Laughlin Date: Tue, 6 Aug 2024 15:05:24 -0700 Subject: [PATCH] cleanup unused cuda scripts --- ci_scripts/add_cuda_10_1.sh | 19 ------------------- ci_scripts/add_cuda_11_1.sh | 11 ----------- ci_scripts/add_cuda_11_5.sh | 9 --------- 3 files changed, 39 deletions(-) delete mode 100755 ci_scripts/add_cuda_10_1.sh delete mode 100755 ci_scripts/add_cuda_11_1.sh delete mode 100644 ci_scripts/add_cuda_11_5.sh diff --git a/ci_scripts/add_cuda_10_1.sh b/ci_scripts/add_cuda_10_1.sh deleted file mode 100755 index fbc8da44..00000000 --- a/ci_scripts/add_cuda_10_1.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -set -ev - -UBUNTU_VERSION=$(lsb_release -sr) -UBUNTU_VERSION=ubuntu"${UBUNTU_VERSION//.}" -CUDA=10.1.105-1 -CUDA_SHORT=10.1 - -INSTALLER=cuda-repo-${UBUNTU_VERSION}_${CUDA}_amd64.deb -wget http://developer.download.nvidia.com/compute/cuda/repos/${UBUNTU_VERSION}/x86_64/${INSTALLER} -sudo dpkg -i ${INSTALLER} -wget https://developer.download.nvidia.com/compute/cuda/repos/${UBUNTU_VERSION}/x86_64/7fa2af80.pub -sudo apt-key add 7fa2af80.pub -sudo apt update -qq -sudo apt install -y cuda-core-${CUDA_SHORT/./-} cuda-cudart-dev-${CUDA_SHORT/./-} cuda-cufft-dev-${CUDA_SHORT/./-} -sudo apt clean - - - diff --git a/ci_scripts/add_cuda_11_1.sh b/ci_scripts/add_cuda_11_1.sh deleted file mode 100755 index c004d6dc..00000000 --- a/ci_scripts/add_cuda_11_1.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -set -ev - -wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin -sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 -wget https://developer.download.nvidia.com/compute/cuda/11.1.1/local_installers/cuda-repo-ubuntu2004-11-1-local_11.1.1-455.32.00-1_amd64.deb -sudo dpkg -i cuda-repo-ubuntu2004-11-1-local_11.1.1-455.32.00-1_amd64.deb -sudo apt-key add /var/cuda-repo-ubuntu2004-11-1-local/7fa2af80.pub -sudo apt-get update -sudo apt-get -y install cuda - diff --git a/ci_scripts/add_cuda_11_5.sh b/ci_scripts/add_cuda_11_5.sh deleted file mode 100644 index 0c3c23fa..00000000 --- a/ci_scripts/add_cuda_11_5.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -set -ev -wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin -sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 -wget https://developer.download.nvidia.com/compute/cuda/11.5.0/local_installers/cuda-repo-ubuntu2004-11-5-local_11.5.0-495.29.05-1_amd64.deb -sudo dpkg -i cuda-repo-ubuntu2004-11-5-local_11.5.0-495.29.05-1_amd64.deb -sudo apt-key add /var/cuda-repo-ubuntu2004-11-5-local/7fa2af80.pub -sudo apt-get update -sudo apt-get -y install cuda