diff --git a/packaging/windows/internal/cuda_install.bat b/packaging/windows/internal/cuda_install.bat index e80654077ca..db181c62321 100644 --- a/packaging/windows/internal/cuda_install.bat +++ b/packaging/windows/internal/cuda_install.bat @@ -190,7 +190,9 @@ if not exist "%SRC_DIR%\temp_build\NvToolsExt.7z" ( echo Installing CUDA toolkit... 7z x %CUDA_SETUP_FILE% -o"%SRC_DIR%\temp_build\cuda" pushd "%SRC_DIR%\temp_build\cuda" -start /wait setup.exe -s %ARGS% +start /wait setup.exe -s %ARGS% -loglevel:6 -log:"%cd%/cuda_install_logs" +echo %errorlevel% + popd echo Installing VS integration... @@ -219,6 +221,10 @@ set "NVTOOLSEXT_PATH=%ProgramFiles%\NVIDIA Corporation\NvToolsExt\bin\x64" if not exist "%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v%CUDA_VERSION_STR%\bin\nvcc.exe" ( echo CUDA %CUDA_VERSION_STR% installed failed. + echo --------- RunDll32.exe.log + type "%SRC_DIR%\temp_build\cuda\cuda_install_logs\LOG.RunDll32.exe.log" + echo --------- setup.exe.log ------- + type "%SRC_DIR%\temp_build\cuda\cuda_install_logs\LOG.setup.exe.log" exit /b 1 )