Skip to content

Commit

Permalink
CUDA のバージョンも 12 にしてみる
Browse files Browse the repository at this point in the history
  • Loading branch information
enm10k committed Jan 17, 2024
1 parent cfd52e3 commit 37b7950
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,11 @@ jobs:
# clang-17 と CUDA を入れる
sudo apt-get update
sudo apt-get install -y software-properties-common
# CUDA 10 なので ubuntu1804 で正しい
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
DEBIAN_FRONTEND=noninteractive sudo apt-get -y install cuda=$CUDA_VERSION
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_*all.deb
sudo apt-get update
DEBIAN_FRONTEND=noninteractive sudo apt-get -y install cuda-toolkit-$CUDA_VERSION
wget https://apt.llvm.org/llvm.sh
chmod a+x llvm.sh
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CMAKE_VERSION=3.27.7
BAZEL_VERSION=5.4.1
LYRA_VERSION=1.3.0
LYRA_COMPATIBLE_VERSION=1.3.0
CUDA_VERSION=10.2.89-1
CUDA_VERSION=12-3
ANDROID_NDK_VERSION=r26b
ANDROID_NATIVE_API_LEVEL=29
ANDROID_SDK_CMDLINE_TOOLS_VERSION=8092744
Expand Down

0 comments on commit 37b7950

Please sign in to comment.