summaryrefslogtreecommitdiff
path: root/utils/release
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2018-07-03 11:30:01 +0000
committerHans Wennborg <hans@hanshq.net>2018-07-03 11:30:01 +0000
commitcfc7aea7ef89b43bbf6c717cb2ee186946cab661 (patch)
tree0e74eb4a6c2f534a2d7ff7f3e13e89ad97397c94 /utils/release
parent13e9d31258a959909faf1bfca0ca49414e12440c (diff)
build_llvm_package.bat: Re-try the build steps
The build on Windows has been extra flaky recently; retrying helps. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/release')
-rwxr-xr-xutils/release/build_llvm_package.bat10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/release/build_llvm_package.bat b/utils/release/build_llvm_package.bat
index d19328c5ac0..f39a2fa73f9 100755
--- a/utils/release/build_llvm_package.bat
+++ b/utils/release/build_llvm_package.bat
@@ -8,7 +8,7 @@ REM Usage: build_llvm_package.bat <revision>
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