|
11 | 11 | REM Visual Studio 2019, CMake, Ninja, GNUWin32, SWIG, Python 3,
|
12 | 12 | REM NSIS with the strlen_8192 patch,
|
13 | 13 | REM Visual Studio 2019 SDK and Nuget (for the clang-format plugin),
|
14 |
| -REM Perl (for the OpenMP run-time). |
| 14 | +REM Perl (for the OpenMP run-time), 7Zip. |
15 | 15 | REM
|
16 | 16 | REM
|
17 | 17 | REM For LLDB, SWIG version <= 3.0.8 needs to be used to work around
|
@@ -91,8 +91,14 @@ ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit
|
91 | 91 | ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b
|
92 | 92 | ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b
|
93 | 93 | ninja package || exit /b
|
| 94 | + |
| 95 | +7z x LLVM-%package_version%-win32.exe -orepack |
| 96 | +rmdir /s /q repack\$PLUGINSDIR |
| 97 | +del repack\Uninstall.exe |
| 98 | +7z a LLVM-%package_version%-win32.zip .\repack\* -mx9 |
94 | 99 | cd ..
|
95 | 100 |
|
| 101 | + |
96 | 102 | REM The plug-in is built separately as it uses a statically linked clang-format.exe.
|
97 | 103 | mkdir build_vsix
|
98 | 104 | cd build_vsix
|
@@ -135,4 +141,9 @@ ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit
|
135 | 141 | ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b
|
136 | 142 | ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b
|
137 | 143 | ninja package || exit /b
|
| 144 | + |
| 145 | +7z x LLVM-%package_version%-win64.exe -orepack |
| 146 | +rmdir /s /q repack\$PLUGINSDIR |
| 147 | +del repack\Uninstall.exe |
| 148 | +7z a LLVM-%package_version%-win64.zip .\repack\* -mx9 |
138 | 149 | cd ..
|
0 commit comments