diff options
| author | Hans Wennborg <hans@hanshq.net> | 2018-07-03 11:30:01 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2018-07-03 11:30:01 +0000 |
| commit | 2ac1205162586b7c3ce6d6c45cef26caa87610e0 (patch) | |
| tree | 4f3b00487a01804597c4e8244e2092b42f383a32 | |
| parent | 8dd6cf711f75f296cdeae2be7c6760b29cc68f57 (diff) | |
| download | bcm5719-llvm-2ac1205162586b7c3ce6d6c45cef26caa87610e0.tar.gz bcm5719-llvm-2ac1205162586b7c3ce6d6c45cef26caa87610e0.zip | |
build_llvm_package.bat: Re-try the build steps
The build on Windows has been extra flaky recently; retrying helps.
llvm-svn: 336192
| -rwxr-xr-x | llvm/utils/release/build_llvm_package.bat | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/utils/release/build_llvm_package.bat b/llvm/utils/release/build_llvm_package.bat index d19328c5ac0..f39a2fa73f9 100755 --- a/llvm/utils/release/build_llvm_package.bat +++ b/llvm/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
|

