Skip to content

Commit 4b760d4

Browse files
chore: cuda@13.2 new formula (#248)
Co-authored-by: David Lane <42013603+ReenigneArcher@users.noreply.github.com>
1 parent c7bf07d commit 4b760d4

3 files changed

Lines changed: 34 additions & 2 deletions

File tree

Formula/c/cuda@13.2.rb

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
require_relative "../../lib/cuda_formula"
2+
3+
class CudaAT132 < Formula
4+
include CudaFormula
5+
6+
desc "NVIDIA CUDA Toolkit - GPU-accelerated library and nvcc compiler"
7+
homepage "https://developer.nvidia.com/cuda-toolkit"
8+
9+
CUDA_VERSION = "13.2.1".freeze
10+
DRIVER_VERSION = "595.58.03".freeze
11+
INTEL_SHA256 = "5514a3fe7bcea92b25073c7c100c3e64e7961a7e1dbad6955adb8b59806053f0".freeze
12+
ARM_SHA256 = "38560e0c48eba793c883ea1ada6ad4c37b744cb5284034d16fd7ee57f95dda04".freeze
13+
14+
# Set up version-specific livecheck
15+
CudaFormula.setup_livecheck(self)
16+
17+
if Hardware::CPU.arm?
18+
url "https://developer.download.nvidia.com/compute/cuda/#{CUDA_VERSION}/local_installers/cuda_#{CUDA_VERSION}_#{DRIVER_VERSION}_linux_sbsa.run"
19+
sha256 ARM_SHA256
20+
else
21+
url "https://developer.download.nvidia.com/compute/cuda/#{CUDA_VERSION}/local_installers/cuda_#{CUDA_VERSION}_#{DRIVER_VERSION}_linux.run"
22+
sha256 INTEL_SHA256
23+
end
24+
25+
bottle do
26+
root_url "https://ghcr.io/v2/lizardbyte/homebrew"
27+
sha256 cellar: :any_skip_relocation, arm64_linux: "e8c8578bee5c2512fec6642822222a55f658b8c68a7d580e52a492a1952bc1cd"
28+
sha256 cellar: :any_skip_relocation, x86_64_linux: "d88eb646e3d856b5e60ae68400faa762e4aeb844e56d4e30934e427d69cb9c85"
29+
end
30+
end
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"cuda@12.9": "**/*",
33
"cuda@13.0": "**/*",
4-
"cuda@13.1": "**/*"
4+
"cuda@13.1": "**/*",
5+
"cuda@13.2": "**/*"
56
}

ci_config/rebuild_bottles_skiplist.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"formulas": [
33
"cuda@12.9",
44
"cuda@13.0",
5-
"cuda@13.1"
5+
"cuda@13.1",
6+
"cuda@13.2"
67
]
78
}

0 commit comments

Comments
 (0)