Skip to content

Commit 04ae3a4

Browse files
authored
Add retries to ninja check calls in build_llvm_release.bat
1 parent 9ddda4e commit 04ae3a4

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

llvm/utils/release/build_llvm_release.bat

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -268,12 +268,12 @@ cmake -GNinja %cmake_flags% ^
268268
-DLLVM_TARGETS_TO_BUILD=Native ^
269269
%llvm_src%\llvm || exit /b 1
270270
ninja || ninja || ninja || exit /b 1
271-
ninja check-llvm || exit /b 1
272-
ninja check-clang || exit /b 1
273-
ninja check-lld || exit /b 1
274-
REM ninja check-runtimes || exit /b 1
275-
ninja check-clang-tools || exit /b 1
276-
ninja check-clangd || exit /b 1
271+
ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
272+
ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
273+
ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
274+
ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
275+
ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b 1
276+
REM ninja check-runtimes || ninja check-runtimes || ninja check-runtimes || exit /b 1
277277
cd..
278278

279279
REM CMake expects the paths that specifies the compiler and linker to be
@@ -300,15 +300,15 @@ cmake -GNinja %cmake_flags% ^
300300
-DPYTHON_HOME=%PYTHONHOME% ^
301301
%cmake_profile_flags% %llvm_src%\llvm || exit /b 1
302302
ninja || ninja || ninja || exit /b 1
303-
ninja check-llvm || exit /b 1
304-
ninja check-clang || exit /b 1
305-
ninja check-lld || exit /b 1
306-
REM ninja check-lldb || exit /b 1
307-
REM ninja check-runtimes || exit /b 1
308-
ninja check-clang-tools || exit /b 1
309-
ninja check-clangd || exit /b 1
310-
ninja check-flang || exit /b 1
311-
ninja check-mlir || exit /b 1
303+
ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
304+
ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
305+
ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
306+
ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
307+
ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b 1
308+
ninja check-flang || ninja check-flang || ninja check-flang || exit /b 1
309+
ninja check-mlir || ninja check-mlir || ninja check-mlir || exit /b 1
310+
REM ninja check-lldb || ninja check-lldb || ninja check-lldb || exit /b 1
311+
REM ninja check-runtimes || ninja check-runtimes || ninja check-runtimes || exit /b 1
312312
ninja package || exit /b 1
313313

314314
:: generate tarball with install toolchain only off

0 commit comments

Comments
 (0)