[llvm] r336192 - build_llvm_package.bat: Re-try the build steps
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 3 04:30:01 PDT 2018
Author: hans
Date: Tue Jul 3 04:30:01 2018
New Revision: 336192
URL: http://llvm.org/viewvc/llvm-project?rev=336192&view=rev
Log:
build_llvm_package.bat: Re-try the build steps
The build on Windows has been extra flaky recently; retrying helps.
Modified:
llvm/trunk/utils/release/build_llvm_package.bat
Modified: llvm/trunk/utils/release/build_llvm_package.bat
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/release/build_llvm_package.bat?rev=336192&r1=336191&r2=336192&view=diff
==============================================================================
--- llvm/trunk/utils/release/build_llvm_package.bat (original)
+++ llvm/trunk/utils/release/build_llvm_package.bat Tue Jul 3 04:30:01 2018
@@ -8,7 +8,7 @@ REM Usage: build_llvm_package.bat <revis
REM Prerequisites:
REM
-REM Visual Studio 2017, CMake, Ninja, SVN, GNUWin32,
+REM Visual Studio 2017, CMake, Ninja, SVN, GNUWin32,
REM NSIS with the strlen_8192 patch,
REM Visual Studio 2017 SDK and Nuget (for the clang-format plugin),
REM Perl (for the OpenMP run-time).
@@ -56,7 +56,7 @@ mkdir build32_stage0
cd build32_stage0
REM Work around VS2017 bug by using MinSizeRel.
cmake -GNinja %cmake_flags% -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b
-ninja all || exit /b
+ninja all || ninja all || ninja all || exit /b
ninja check || ninja check || ninja check || exit /b
ninja check-clang || ninja check-clang || ninja check-clang || exit /b
cd..
@@ -66,7 +66,7 @@ cd build32
set CC=..\build32_stage0\bin\clang-cl
set CXX=..\build32_stage0\bin\clang-cl
cmake -GNinja %cmake_flags% ..\llvm || exit /b
-ninja all || exit /b
+ninja all || ninja all || ninja all || exit /b
ninja check || ninja check || ninja check || exit /b
ninja check-clang || ninja check-clang || ninja check-clang || exit /b
ninja package || exit /b
@@ -91,7 +91,7 @@ mkdir build64_stage0
cd build64_stage0
REM Work around VS2017 bug by using MinSizeRel.
cmake -GNinja %cmake_flags% -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b
-ninja all || exit /b
+ninja all || ninja all || ninja all || exit /b
ninja check || ninja check || ninja check || exit /b
ninja check-clang || ninja check-clang || ninja check-clang || exit /b
cd..
@@ -101,7 +101,7 @@ cd build64
set CC=..\build64_stage0\bin\clang-cl
set CXX=..\build64_stage0\bin\clang-cl
cmake -GNinja %cmake_flags% ..\llvm || exit /b
-ninja all || exit /b
+ninja all || ninja all || ninja all || exit /b
ninja check || ninja check || ninja check || exit /b
ninja check-clang || ninja check-clang || ninja check-clang || exit /b
ninja package || exit /b
More information about the llvm-commits
mailing list