\r
REM Prerequisites:\r
REM\r
-REM Visual Studio 2017, CMake, Ninja, SVN, GNUWin32, \r
+REM Visual Studio 2017, CMake, Ninja, SVN, GNUWin32,\r
REM NSIS with the strlen_8192 patch,\r
REM Visual Studio 2017 SDK and Nuget (for the clang-format plugin),\r
REM Perl (for the OpenMP run-time).\r
cd build32_stage0\r
REM Work around VS2017 bug by using MinSizeRel.\r
cmake -GNinja %cmake_flags% -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b\r
-ninja all || exit /b\r
+ninja all || ninja all || ninja all || exit /b\r
ninja check || ninja check || ninja check || exit /b\r
ninja check-clang || ninja check-clang || ninja check-clang || exit /b\r
cd..\r
set CC=..\build32_stage0\bin\clang-cl\r
set CXX=..\build32_stage0\bin\clang-cl\r
cmake -GNinja %cmake_flags% ..\llvm || exit /b\r
-ninja all || exit /b\r
+ninja all || ninja all || ninja all || exit /b\r
ninja check || ninja check || ninja check || exit /b\r
ninja check-clang || ninja check-clang || ninja check-clang || exit /b\r
ninja package || exit /b\r
cd build64_stage0\r
REM Work around VS2017 bug by using MinSizeRel.\r
cmake -GNinja %cmake_flags% -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b\r
-ninja all || exit /b\r
+ninja all || ninja all || ninja all || exit /b\r
ninja check || ninja check || ninja check || exit /b\r
ninja check-clang || ninja check-clang || ninja check-clang || exit /b\r
cd..\r
set CC=..\build64_stage0\bin\clang-cl\r
set CXX=..\build64_stage0\bin\clang-cl\r
cmake -GNinja %cmake_flags% ..\llvm || exit /b\r
-ninja all || exit /b\r
+ninja all || ninja all || ninja all || exit /b\r
ninja check || ninja check || ninja check || exit /b\r
ninja check-clang || ninja check-clang || ninja check-clang || exit /b\r
ninja package || exit /b\r