We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c80ae3 commit 5b82612Copy full SHA for 5b82612
utils/build-windows-toolchain.bat
@@ -25,8 +25,9 @@ echo set SKIP_UPDATE_CHECKOUT=%SKIP_UPDATE_CHECKOUT%>> %TEMP%\call-build.cmd
25
echo set REPO_SCHEME=%REPO_SCHEME%>> %TEMP%\call-build.cmd
26
echo "%~f0">> %TEMP%\call-build.cmd
27
start /i /b /wait cmd.exe /env=default /c "%TEMP%\call-build.cmd"
28
+set ec=%errorlevel%
29
del %TEMP%\call-build.cmd
-exit /b
30
+exit /b %ec%
31
32
:Start
33
@@ -80,7 +81,7 @@ powershell.exe -ExecutionPolicy RemoteSigned -File %~dp0build.ps1 ^
80
81
-BuildType %CMAKE_BUILD_TYPE% ^
82
%SkipPackagingArg% ^
83
%TestArg% ^
- -Stage %PackageRoot%
84
+ -Stage %PackageRoot% || (exit /b)
85
86
:: Clean up the module cache
87
rd /s /q %LocalAppData%\clang\ModuleCache
0 commit comments