Skip to content

Commit

Permalink
Fix distro
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Sep 20, 2024
1 parent 04edd1e commit 5bd73d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dependencies/dependencies_nvcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ sudo apt-get install -y \
cmake \
g++

source /etc/os-release # set UBUNTU_CODENAME
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu${VERSION_ID}/x86_64/cuda-keyring_1.1-1_all.deb
source /etc/os-release # set VERSION_ID
distro=ubuntu$(sed 's/\.//' <<< ${VERSION_ID})
wget https://developer.download.nvidia.com/compute/cuda/repos/${distro}/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
sudo apt-get install -y \
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ jobs:
cd Tests/Parser
make -j4
./main.gnu.ex
cd Tests/GPU
make -j4 USE_CPU=TRUE
./main.gnu.ex

0 comments on commit 5bd73d6

Please sign in to comment.