mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "12.1.0_531.14",
 | 
						|
    "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/12.1.0/local_installers/cuda_12.1.0_531.14_windows.exe#/dl.7z",
 | 
						|
            "hash": "md5:f9ce2affc49b82a220c292f734a57af5"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "installer": {
 | 
						|
        "script": [
 | 
						|
            "$names = @('bin', 'extras', 'include', 'lib', 'libnvvp', 'nvml', 'nvvm', 'compute-sanitizer')",
 | 
						|
            "foreach ($name in $names) {",
 | 
						|
            "    Copy-Item \"$dir\\cuda_*\\*\\$name\" \"$dir\" -Recurse -Force",
 | 
						|
            "    Copy-Item \"$dir\\lib*\\*\\$name\" \"$dir\" -Recurse -Force",
 | 
						|
            "}",
 | 
						|
            "Get-ChildItem \"$dir\" -Exclude $names | Remove-Item -Recurse -Force"
 | 
						|
        ]
 | 
						|
    },
 | 
						|
    "env_add_path": "bin",
 | 
						|
    "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=exe_local",
 | 
						|
        "regex": "/cuda_([\\d._]+)_windows\\.exe"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "http://developer.download.nvidia.com/compute/cuda/$matchHead/local_installers/cuda_$version_windows.exe#/dl.7z"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "hash": {
 | 
						|
            "url": "https://developer.download.nvidia.com/compute/cuda/$matchHead/docs/sidebar/md5sum.txt"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |