Skip to content

Commit

Permalink
20.04 は自前のを使ってもらう
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed Nov 2, 2024
1 parent db07fd3 commit a61baba
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,12 @@ jobs:
sudo apt-get install libx11-dev libxext-dev
# CUDA
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
source /etc/os-release
# 20.04 は自前の libssl1.1 があるので不要
if [ $VERSION_ID != "20.04" ]; then
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb
fi
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb
sudo dpkg -i cuda-keyring_*all.deb
sudo apt-get update
Expand Down

0 comments on commit a61baba

Please sign in to comment.