[all-commits] [llvm/llvm-project] 12c4c6: Build reproducible tarballs for releases
Aaron Puchert via All-commits
all-commits at lists.llvm.org
Wed Nov 25 23:02:00 PST 2020
Branch: refs/heads/release/11.x
Home: https://github.com/llvm/llvm-project
Commit: 12c4c6cd770a1651676560924ff77c9e4b383848
https://github.com/llvm/llvm-project/commit/12c4c6cd770a1651676560924ff77c9e4b383848
Author: Aaron Puchert <aaronpuchert at alice-dsl.net>
Date: 2020-11-25 (Wed, 25 Nov 2020)
Changed paths:
M llvm/utils/release/export.sh
Log Message:
-----------
Build reproducible tarballs for releases
Currently the tarballs contain superfluous metadata, like the user name
of the packager and via Pax headers even the PID of the tar process that
packaged the files. We build the monorepo projects directly from the git
repo using "git archive" and for the test-suite we add some flags as
recommended by https://reproducible-builds.org/docs/archives/. We don't
use numeric owners though to be compatible with "git archive".
The advantage of "git archive" is that the releaser doesn't have to
download the tar ball and extract it, rather the archive is built
directly from the repository. This is probably what GitHub uses
internally to produce the tarballs, so I wouldn't expect a difference.
Reviewed By: tstellar
Differential Revision: https://reviews.llvm.org/D91494
(cherry picked from commit 1a009296a4e9a50e85908f9141c3c1ea860d73e4)
More information about the All-commits
mailing list