llvm.org GIT mirror llvm / 04b5a14
build_llvm_package.bat: Run more tests git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351436 91177308-0d34-0410-b5e6-96231b3b80d8 Hans Wennborg 1 year, 9 months ago
1 changed file(s) with 13 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
5353 REM Setting CMAKE_CL_SHOWINCLUDES_PREFIX to work around PR27226.
5454 set cmake_flags=-DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON -DCMAKE_INSTALL_UCRT_LIBRARIES=ON -DCLANG_FORMAT_VS_VERSION=%clang_format_vs_version% -DPACKAGE_VERSION=%package_version% -DLLDB_RELOCATABLE_PYTHON=1 -DLLDB_TEST_COMPILER=%cd%\build32_stage0\bin\clang.exe -DCMAKE_CL_SHOWINCLUDES_PREFIX="Note: including file: "
5555
56 REM TODO: Run all tests, including lld and compiler-rt.
56 REM TODO: Run the "check-all" tests.
5757
5858 set "VSCMD_START_DIR=%CD%"
5959 call "%vsdevcmd%" -arch=x86
6565 cmake -GNinja %cmake_flags% -DPYTHON_HOME=%python32_dir% -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b
6666 ninja all || ninja all || ninja all || exit /b
6767 ninja check || ninja check || ninja check || exit /b
68 ninja check-clang || ninja check-clang || ninja check-clang || exit /b
68 ninja check-clang || ninja check-clang || ninja check-clang || exit /b
69 ninja check-lld || ninja check-lld || ninja check-lld || exit /b
70 ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b
6971 cd..
7072
7173 mkdir build32
7577 cmake -GNinja %cmake_flags% -DPYTHON_HOME=%python32_dir% ..\llvm || exit /b
7678 ninja all || ninja all || ninja all || exit /b
7779 ninja check || ninja check || ninja check || exit /b
78 ninja check-clang || ninja check-clang || ninja check-clang || exit /b
80 ninja check-clang || ninja check-clang || ninja check-clang || exit /b
81 ninja check-lld || ninja check-lld || ninja check-lld || exit /b
82 ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b
7983 ninja package || exit /b
8084 cd ..
8185
100104 cmake -GNinja %cmake_flags% -DPYTHON_HOME=%python64_dir% -DCMAKE_BUILD_TYPE=MinSizeRel ..\llvm || exit /b
101105 ninja all || ninja all || ninja all || exit /b
102106 ninja check || ninja check || ninja check || exit /b
103 ninja check-clang || ninja check-clang || ninja check-clang || exit /b
107 ninja check-clang || ninja check-clang || ninja check-clang || exit /b
108 ninja check-lld || ninja check-lld || ninja check-lld || exit /b
109 ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b
104110 cd..
105111
106112 mkdir build64
110116 cmake -GNinja %cmake_flags% -DPYTHON_HOME=%python64_dir% ..\llvm || exit /b
111117 ninja all || ninja all || ninja all || exit /b
112118 ninja check || ninja check || ninja check || exit /b
113 ninja check-clang || ninja check-clang || ninja check-clang || exit /b
119 ninja check-clang || ninja check-clang || ninja check-clang || exit /b
120 ninja check-lld || ninja check-lld || ninja check-lld || exit /b
121 ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b
114122 ninja package || exit /b
115123 cd ..