aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSahnvour <sahnvour@pm.me>2019-10-13 13:44:33 +0200
committerAndrew Kelley <andrew@ziglang.org>2019-10-13 11:02:21 -0400
commitae0628b30cdde8068dbefcbe6827f3339a9da088 (patch)
treecb0364d0f2aaa526768152f4cdd6bfebbf4451cc
parent8b45921664c8f679c8154b45add84f84e3ec8128 (diff)
downloadzig-ae0628b30cdde8068dbefcbe6827f3339a9da088.tar.gz
zig-ae0628b30cdde8068dbefcbe6827f3339a9da088.zip
ci: use parallel msbuild.exe processes for faster building on windows
-rw-r--r--ci/azure/windows_script.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/azure/windows_script.bat b/ci/azure/windows_script.bat
index 5c44abcbe1..57140e19b5 100644
--- a/ci/azure/windows_script.bat
+++ b/ci/azure/windows_script.bat
@@ -19,7 +19,7 @@ mkdir %ZIGBUILDDIR%
cd %ZIGBUILDDIR%
REM Here we use MinSizeRel instead of Release to work around https://github.com/ziglang/zig/issues/3024
cmake.exe .. -Thost=x64 -G"Visual Studio 16 2019" -A x64 "-DCMAKE_INSTALL_PREFIX=%ZIGINSTALLDIR%" "-DCMAKE_PREFIX_PATH=%ZIGPREFIXPATH%" -DCMAKE_BUILD_TYPE=MinSizeRel || exit /b
-msbuild /p:Configuration=MinSizeRel INSTALL.vcxproj || exit /b
+msbuild /maxcpucount /p:Configuration=MinSizeRel INSTALL.vcxproj || exit /b
"%ZIGINSTALLDIR%\bin\zig.exe" build test || exit /b