[PATCH] D91494: Build reproducible tarballs for releases

Aaron Puchert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 16 06:49:06 PST 2020


aaronpuchert added a comment.

In D91494#2397260 <https://reviews.llvm.org/D91494#2397260>, @hans wrote:

> I kind of liked that the script always downloads from github and doesn't depend on the state of my local repro.

It requires the tag to be on the same commit as on GitHub, but since you're setting the tag I'd assume that. Otherwise it doesn't depend on either your working tree or the index, or whether you're currently rebasing or whatever. The archive is generated from the snapshot defined by the git tag, and since git addresses everything by hashes this should reproducibly be the same wherever you do it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D91494/new/

https://reviews.llvm.org/D91494



More information about the llvm-commits mailing list