2014-12-04 21:22:32 +08:00
|
|
|
cask :v1 => 'cuda' do
|
2015-10-12 00:57:44 +08:00
|
|
|
version '7.5.20'
|
|
|
|
sha256 '53a569d2cbdf43942245ce356ee5851ccf1dbf55e15a035ad0aa95a0b7739181'
|
2014-12-04 21:22:32 +08:00
|
|
|
|
2015-09-20 03:30:31 +08:00
|
|
|
url "http://developer.download.nvidia.com/compute/cuda/#{version.to_f}/Prod/local_installers/cuda_#{version}_mac.dmg"
|
2015-01-06 10:47:59 +08:00
|
|
|
name 'CUDA'
|
2014-12-04 21:22:32 +08:00
|
|
|
homepage 'https://developer.nvidia.com/cuda-zone'
|
|
|
|
license :other
|
2015-01-06 10:47:59 +08:00
|
|
|
tags :vendor => 'Nvidia'
|
2014-12-04 21:22:32 +08:00
|
|
|
|
2015-09-20 03:30:31 +08:00
|
|
|
installer :script => 'CUDAMacOSXInstaller.app/Contents/MacOS/CUDAMacOSXInstaller',
|
|
|
|
:args => [ '--accept-eula', '--silent' ]
|
2014-12-20 23:33:38 +08:00
|
|
|
|
2015-09-20 03:30:31 +08:00
|
|
|
uninstall :script => "/Developer/NVIDIA/CUDA-#{version.to_f}/bin/uninstall_cuda_#{version.to_f}.pl"
|
2014-12-04 21:22:32 +08:00
|
|
|
end
|