Skip to content

Commit 1c357a6

Browse files
committed
Add retries to ninja check calls in build_llvm_release.bat
1 parent 48f339c commit 1c357a6

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
@@ -288,12 +288,12 @@ cmake -GNinja %cmake_flags% ^
288288
-DLLVM_TARGETS_TO_BUILD=Native ^
289289
%llvm_src%\llvm || exit /b 1
290290
ninja || ninja || ninja || exit /b 1
291-
ninja check-llvm || exit /b 1
292-
ninja check-clang || exit /b 1
293-
ninja check-lld || exit /b 1
294-
REM ninja check-runtimes || exit /b 1
295-
ninja check-clang-tools || exit /b 1
296-
ninja check-clangd || exit /b 1
291+
ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
292+
ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
293+
ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
294+
ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
295+
ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b 1
296+
REM ninja check-runtimes || ninja check-runtimes || ninja check-runtimes || exit /b 1
297297
cd..
298298

299299
REM CMake expects the paths that specifies the compiler and linker to be
@@ -320,15 +320,15 @@ cmake -GNinja %cmake_flags% ^
320320
-DPYTHON_HOME=%PYTHONHOME% ^
321321
%cmake_profile_flags% %llvm_src%\llvm || exit /b 1
322322
ninja || ninja || ninja || exit /b 1
323-
ninja check-llvm || exit /b 1
324-
ninja check-clang || exit /b 1
325-
ninja check-lld || exit /b 1
326-
REM ninja check-lldb || exit /b 1
327-
REM ninja check-runtimes || exit /b 1
328-
ninja check-clang-tools || exit /b 1
329-
ninja check-clangd || exit /b 1
330-
ninja check-flang || exit /b 1
331-
ninja check-mlir || exit /b 1
323+
ninja check-llvm || ninja check-llvm || ninja check-llvm || exit /b 1
324+
ninja check-clang || ninja check-clang || ninja check-clang || exit /b 1
325+
ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
326+
ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b 1
327+
ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b 1
328+
ninja check-flang || ninja check-flang || ninja check-flang || exit /b 1
329+
ninja check-mlir || ninja check-mlir || ninja check-mlir || exit /b 1
330+
REM ninja check-lldb || ninja check-lldb || ninja check-lldb || exit /b 1
331+
REM ninja check-runtimes || ninja check-runtimes || ninja check-runtimes || exit /b 1
332332
ninja package || exit /b 1
333333

334334
:: generate tarball with install toolchain only off

0 commit comments

Comments
 (0)