2020-10-21 18:00:37 +00:00

46 lines
1.6 KiB
JSON

{
"version": "11.1.0_456.43",
"description": "A parallel computing platform and programming model invented by NVIDIA",
"homepage": "https://developer.nvidia.com/cuda-toolkit",
"license": {
"identifier": "Freeware",
"url": "https://docs.nvidia.com/cuda/eula/index.html"
},
"architecture": {
"64bit": {
"url": "http://developer.download.nvidia.com/compute/cuda/11.1.0/local_installers/cuda_11.1.0_456.43_win10.exe#/dl.7z",
"hash": "md5:2786aedea8c05d17d21113645d6423e8"
}
},
"installer": {
"script": [
"$names = @('bin', 'extras', 'include', 'jre', 'lib', 'libnvvp', 'nvml', 'nvvm')",
"foreach ($name in $names) {",
" Copy-Item \"$dir\\*\\$name\" \"$dir\" -Recurse -Force",
"}",
"Get-ChildItem \"$dir\" -Exclude $names | Remove-Item -Recurse -Force"
]
},
"env_add_path": [
"bin",
"libnvvp"
],
"env_set": {
"CUDA_PATH": "$dir"
},
"checkver": {
"url": "https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exelocal",
"regex": "/cuda_([\\d._]+)_win10\\.exe"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "http://developer.download.nvidia.com/compute/cuda/$matchHead/local_installers/cuda_$version_win10.exe#/dl.7z"
}
},
"hash": {
"url": "https://developer.download.nvidia.com/compute/cuda/$matchHead/docs/sidebar/md5sum.txt"
}
}
}