diff --git a/bucket/cuda.json b/bucket/cuda.json new file mode 100644 index 0000000000..e9a75139f6 --- /dev/null +++ b/bucket/cuda.json @@ -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" + } + } +}