2015-12-18 09:15:28 +08:00
|
|
|
cask '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-12-25 03:04:00 +08:00
|
|
|
name 'Nvidia CUDA'
|
2014-12-04 21:22:32 +08:00
|
|
|
homepage 'https://developer.nvidia.com/cuda-zone'
|
|
|
|
license :other
|
|
|
|
|
2015-09-20 03:30:31 +08:00
|
|
|
installer :script => 'CUDAMacOSXInstaller.app/Contents/MacOS/CUDAMacOSXInstaller',
|
2016-01-04 03:18:05 +08:00
|
|
|
: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
|