CUDA: Add version 10.1 (#259)

This commit is contained in:
linsui 2019-07-26 16:40:51 +00:00 committed by Ross Smith II
parent 071f53e269
commit be14e8811b

45
bucket/cuda.json Normal file
View File

@ -0,0 +1,45 @@
{
"version": "10.1.168_425.25",
"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": "https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.168_425.25_win10.exe#/dl.7z",
"hash": "md5:d4b3cfd0ef47573350840dd31cb399ae"
}
},
"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": "."
},
"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": "https://developer.nvidia.com/compute/cuda/$majorVersion.$minorVersion/Prod/local_installers/cuda_$version_win10.exe#/dl.7z"
}
},
"hash": {
"url": "https://developer.download.nvidia.com/compute/cuda/$majorVersion.$minorVersion/Prod/docs2/sidebar/md5sum.txt"
}
}
}