CUDA: fix autoupdate (#375)

This commit is contained in:
linsui 2019-08-25 14:37:35 +00:00 committed by Ross Smith II
parent b101f99092
commit 5feb217410

View File

@ -1,5 +1,5 @@
{ {
"version": "10.1.168_425.25", "version": "10.1.243_426.00",
"description": "A parallel computing platform and programming model invented by NVIDIA", "description": "A parallel computing platform and programming model invented by NVIDIA",
"homepage": "https://developer.nvidia.com/cuda-toolkit", "homepage": "https://developer.nvidia.com/cuda-toolkit",
"license": { "license": {
@ -8,12 +8,12 @@
}, },
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.168_425.25_win10.exe#/dl.7z", "url": "https://developer.download.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.243_426.00_win10.exe#/dl.7z",
"hash": "md5:d4b3cfd0ef47573350840dd31cb399ae" "hash": "md5:b54cf32683f93e787321dcc2e692ff69"
} }
}, },
"installer": { "installer": {
"script":[ "script": [
"$names = @('bin', 'extras', 'include', 'jre', 'lib', 'libnvvp', 'nvml', 'nvvm')", "$names = @('bin', 'extras', 'include', 'jre', 'lib', 'libnvvp', 'nvml', 'nvvm')",
"foreach ($name in $names) {", "foreach ($name in $names) {",
" Copy-Item \"$dir\\*\\$name\" \"$dir\" -Recurse -Force", " Copy-Item \"$dir\\*\\$name\" \"$dir\" -Recurse -Force",
@ -35,11 +35,12 @@
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://developer.nvidia.com/compute/cuda/$majorVersion.$minorVersion/Prod/local_installers/cuda_$version_win10.exe#/dl.7z" "url": "https://developer.download.nvidia.com/compute/cuda/$majorVersion.$minorVersion/Prod/local_installers/cuda_$version_win10.exe#/dl.7z"
} }
}, },
"hash": { "hash": {
"url": "https://developer.download.nvidia.com/compute/cuda/$majorVersion.$minorVersion/Prod/docs2/sidebar/md5sum.txt" "url": "https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exelocal",
"regex": "$md5.*?$basename"
} }
} }
} }