Skip to content

Commit

Permalink
trim build variants, update to cuda 12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
slabasan committed Sep 23, 2024
1 parent ec23397 commit 325f740
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
config: [boilerplate, release, debug_cuda_only, debug_mpi_only, debug_threads_only]
config: [boilerplate]

include:
- config: boilerplate
Expand Down Expand Up @@ -51,15 +51,16 @@ jobs:
sudo apt-get update
sudo apt install gcc clang llvm-dev libjansson-dev libssl-dev bison flex make cmake mpich
gcc --version
# install cuda 12.1
# install cuda 12.2
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/12.1.0/local_installers/cuda-repo-ubuntu2004-12-1-local_12.1.0-530.30.02-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu2004-12-1-local_12.1.0-530.30.02-1_amd64.deb
sudo cp /var/cuda-repo-ubuntu2004-12-1-local/cuda-*-keyring.gpg /usr/share/keyrings/
wget https://developer.download.nvidia.com/compute/cuda/12.2.0/local_installers/cuda-repo-ubuntu2004-12-2-local_12.2.0-535.54.03-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu2004-12-2-local_12.2.0-535.54.03-1_amd64.deb
sudo cp /var/cuda-repo-ubuntu2004-12-2-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cuda
export PATH=/usr/local/cuda-12.1/bin:$PATH
which nvcc
export PATH=/usr/local/cuda-12.2/bin:$PATH
clang++ --version
nvcc --version
Expand Down

0 comments on commit 325f740

Please sign in to comment.