forked from ScoopInstaller/Main
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcuda.json
46 lines (46 loc) · 1.68 KB
/
cuda.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"version": "10.1.243_426.00",
"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.download.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.243_426.00_win10.exe#/dl.7z",
"hash": "md5:b54cf32683f93e787321dcc2e692ff69"
}
},
"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.download.nvidia.com/compute/cuda/$majorVersion.$minorVersion/Prod/local_installers/cuda_$version_win10.exe#/dl.7z"
}
},
"hash": {
"url": "https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exelocal",
"regex": "$md5.*?$basename"
}
}
}