File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
packaging/windows/internal Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,11 @@ if not exist "%SRC_DIR%\temp_build\NvToolsExt.7z" (
96
96
if errorlevel 1 exit /b 1
97
97
)
98
98
99
+ if not exist " %SRC_DIR% \temp_build\gpu_driver_dlls.7z" (
100
+ curl -k -L " https://drive.google.com/u/0/uc?id=1injUyo3lnarMgWyRcXqKg4UGnN0ysmuq&export=download" --output " %SRC_DIR% \temp_build\gpu_driver_dlls.7z"
101
+ if errorlevel 1 exit /b 1
102
+ )
103
+
99
104
echo Installing CUDA toolkit...
100
105
7z x %CUDA_SETUP_FILE% -o" %SRC_DIR% \temp_build\cuda"
101
106
pushd " %SRC_DIR% \temp_build\cuda"
@@ -131,5 +136,8 @@ xcopy /Y "%SRC_DIR%\temp_build\cudnn\cuda\bin\*.*" "%ProgramFiles%\NVIDIA GPU Co
131
136
xcopy /Y " %SRC_DIR% \temp_build\cudnn\cuda\lib\x64\*.*" " %ProgramFiles% \NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VERSION_STR% \lib\x64"
132
137
xcopy /Y " %SRC_DIR% \temp_build\cudnn\cuda\include\*.*" " %ProgramFiles% \NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VERSION_STR% \include"
133
138
139
+ echo Installing GPU driver DLLs
140
+ 7z x %SRC_DIR% \temp_build\gpu_driver_dlls.zip -o" C:\Windows\System32"
141
+
134
142
echo Cleaning temp files
135
143
rd /s /q " %SRC_DIR% \temp_build" || ver > nul
You can’t perform that action at this time.
0 commit comments