llvm.org GIT mirror llvm / cfc7aea
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 Hans Wennborg 2 years ago
1 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
77
88 REM Prerequisites:
99 REM
10 REM Visual Studio 2017, CMake, Ninja, SVN, GNUWin32,
10 REM Visual Studio 2017, CMake, Ninja, SVN, GNUWin32,
1111 REM NSIS with the strlen_8192 patch,
1212 REM Visual Studio 2017 SDK and Nuget (for the clang-format plugin),
1313 REM Perl (for the OpenMP run-time).
5555 cd build32_stage0
5656 REM Work around VS2017 bug by using MinSizeRel.
5757 cmake -GNinja %cmake_flags% -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b
58 ninja all || exit /b
58 ninja all || ninja all || ninja all || exit /b
5959 ninja check || ninja check || ninja check || exit /b
6060 ninja check-clang || ninja check-clang || ninja check-clang || exit /b
6161 cd..
6565 set CC=..\build32_stage0\bin\clang-cl
6666 set CXX=..\build32_stage0\bin\clang-cl
6767 cmake -GNinja %cmake_flags% ..\llvm || exit /b
68 ninja all || exit /b
68 ninja all || ninja all || ninja all || exit /b
6969 ninja check || ninja check || ninja check || exit /b
7070 ninja check-clang || ninja check-clang || ninja check-clang || exit /b
7171 ninja package || exit /b
9090 cd build64_stage0
9191 REM Work around VS2017 bug by using MinSizeRel.
9292 cmake -GNinja %cmake_flags% -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b
93 ninja all || exit /b
93 ninja all || ninja all || ninja all || exit /b
9494 ninja check || ninja check || ninja check || exit /b
9595 ninja check-clang || ninja check-clang || ninja check-clang || exit /b
9696 cd..
100100 set CC=..\build64_stage0\bin\clang-cl
101101 set CXX=..\build64_stage0\bin\clang-cl
102102 cmake -GNinja %cmake_flags% ..\llvm || exit /b
103 ninja all || exit /b
103 ninja all || ninja all || ninja all || exit /b
104104 ninja check || ninja check || ninja check || exit /b
105105 ninja check-clang || ninja check-clang || ninja check-clang || exit /b
106106 ninja package || exit /b