[PATCH] D127938: Update Windows packaging script.

Carlos Alberto Enciso via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 22:50:19 PDT 2022


CarlosAlbertoEnciso created this revision.
CarlosAlbertoEnciso added reviewers: hans, thieta, rovka, rgal.
CarlosAlbertoEnciso added a project: All.
CarlosAlbertoEnciso requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.

Update the Windows packaging script.

As discussed on:

  https://discourse.llvm.org/t/build-llvm-release-bat-script-options/63146/6

These are the changes in this patch:

- Add command line options to select specific tasks:
  - Specify output directory.
  - Build 32 and/or 64 binaries.
  - Run the tests
  - Package the binaries.
- In stage-1 use lld-link.
- Split the build/test/package into separate functions.
- Added some trace statements.

The added command line options are:

  --version [<number>]  Version number (i.e. 14.0.4)
  --output <name>       Output directory
  
  --b32                 build 32-bit binaries
  --b64                 build 64-bit binaries
  --t32                 run 32-bits tests
  --t64                 run 64-bits tests
  --p32                 create 32-bits binary package
  --p64                 create 64-bits binary package
  
  --trace               Debugging trace


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127938

Files:
  llvm/utils/release/build_llvm_release.bat

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127938.437450.patch
Type: text/x-patch
Size: 14749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220616/8bc04652/attachment-0001.bin>


More information about the llvm-commits mailing list