Revert "build_llvm_package.bat: Produce zip files in addition to the installers"
authorHans Wennborg <hans@chromium.org>
Mon, 30 May 2022 11:55:54 +0000 (13:55 +0200)
committerHans Wennborg <hans@chromium.org>
Mon, 30 May 2022 11:55:54 +0000 (13:55 +0200)
The zip files were too large to be practical, so they were never
shipped. Reverting to reduce build time and complexity of the script.

This reverts commit 4486aa03c5f431ba33a1d1ac9991da912e3decd9.

llvm/utils/release/build_llvm_package.bat

index 5b29eab..fd138e9 100755 (executable)
@@ -11,7 +11,7 @@ REM
 REM   Visual Studio 2019, CMake, Ninja, GNUWin32, SWIG, Python 3,\r
 REM   NSIS with the strlen_8192 patch,\r
 REM   Visual Studio 2019 SDK and Nuget (for the clang-format plugin),\r
-REM   Perl (for the OpenMP run-time), 7Zip.\r
+REM   Perl (for the OpenMP run-time).\r
 REM\r
 REM\r
 REM   For LLDB, SWIG version <= 3.0.8 needs to be used to work around\r
@@ -92,14 +92,8 @@ ninja check-lld || ninja check-lld || ninja check-lld || exit /b
 ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit /b\r
 REM ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b\r
 ninja package || exit /b\r
-\r
-7z x LLVM-%package_version%-win32.exe -orepack\r
-rmdir /s /q repack\$PLUGINSDIR\r
-del repack\Uninstall.exe\r
-7z a LLVM-%package_version%-win32.zip .\repack\* -mx9\r
 cd ..\r
 \r
-\r
 set "VSCMD_START_DIR=%CD%"\r
 set PATH=%OLDPATH%\r
 call "%vsdevcmd%" -arch=amd64\r
@@ -131,9 +125,4 @@ ninja check-sanitizer || ninja check-sanitizer || ninja check-sanitizer || exit
 ninja check-clang-tools || ninja check-clang-tools || ninja check-clang-tools || exit /b\r
 ninja check-clangd || ninja check-clangd || ninja check-clangd || exit /b\r
 ninja package || exit /b\r
-\r
-7z x LLVM-%package_version%-win64.exe -orepack\r
-rmdir /s /q repack\$PLUGINSDIR\r
-del repack\Uninstall.exe\r
-7z a LLVM-%package_version%-win64.zip .\repack\* -mx9\r
 cd ..\r