make.bat: add additional messaging for the libs download

git on windows is giving no status updates while git lfs
is downloading the libs, causing people to assume its
stuck and interrupt the download. This change adds a
rather large visual message telling people not to do
that.

also it was not respecting people selecting n on the lib
download so some extra messaging has been added there
as well.
This commit is contained in:
Ray Molenkamp
2024-02-22 13:09:34 -07:00
parent ea10be4dd6
commit ced066e0c8

View File

@@ -14,6 +14,16 @@ if NOT EXIST "%BUILD_VS_LIBDIR%\.git" (
echo.
echo Downloading %BUILD_VS_LIBDIR% libraries, please wait.
echo.
echo *********************************************************
echo * *
echo * Note: Once the initial download finishes and you see *
echo * "Resolving deltas: 100%% (nnn/nnn) done" *
echo * a second, much larger, update will occur with *
echo * no visible updates. Please do not interrupt *
echo * this process. It may take over an hour to *
echo * complete depending on your internet connection. *
echo * *
echo *********************************************************
:RETRY
"%GIT%" -C "%BLENDER_DIR%\" config --local "submodule.%BUILD_VS_LIBDIR%.update" "checkout"
"%GIT%" -C "%BLENDER_DIR%\" submodule update --progress --init "%BUILD_VS_LIBDIR%"
@@ -28,7 +38,10 @@ if NOT EXIST "%BUILD_VS_LIBDIR%\.git" (
echo.
exit /b 1
)
)
) else (
echo Not downloading libraries, until this is resolved you CANNOT make a successful blender build.
exit /b 1
)
)
) else (
if NOT EXIST %PYTHON% (