diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-02-04 15:30:48 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-02-08 09:33:05 +0100 |
commit | c43d1e5549f548efd221043bbc8069700ee22183 (patch) | |
tree | 435b6409e7d9ba49a53126c298eb8cf96e74a1b5 /contrib/gitian-descriptors/deps-win.yml | |
parent | 23617fd01de071738e4a0f9f9fb9b19222b2acf4 (diff) |
gitian: Make windows dependencies outputs fully deterministic
Sort .zip order, and other determinism changes to make sure builds
are repeatable for windows deps.
Diffstat (limited to 'contrib/gitian-descriptors/deps-win.yml')
-rw-r--r-- | contrib/gitian-descriptors/deps-win.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/gitian-descriptors/deps-win.yml b/contrib/gitian-descriptors/deps-win.yml index 13d3a86fd9..ef0f8f3314 100644 --- a/contrib/gitian-descriptors/deps-win.yml +++ b/contrib/gitian-descriptors/deps-win.yml @@ -107,11 +107,13 @@ script: | # tar xjf $INDIR/qrencode-3.4.3.tar.bz2 cd qrencode-3.4.3 - png_CFLAGS="-I$INSTALLPREFIX/include" png_LIBS="-L$INSTALLPREFIX/lib -lpng" ./configure --prefix=$INSTALLPREFIX --host=$HOST --enable-static --disable-shared --without-tools --disable-maintainer-mode --disable-dependency-tracking + png_CFLAGS="-I$INSTALLPREFIX/include" png_LIBS="-L$INSTALLPREFIX/lib -lpng" ./configure --prefix=$INSTALLPREFIX --host=$HOST --enable-static --disable-shared --without-tools --disable-dependency-tracking + # Workaround to prevent re-configuring by make (resulting in missing m4 error); make all files have a date in the past + find . -print0 | xargs -r0 touch -t 200001010000 make make install cd .. # cd $INSTALLPREFIX - zip -r $OUTDIR/bitcoin-deps-win$BITS-gitian-r10.zip include lib + find include lib | sort | zip -@ $OUTDIR/bitcoin-deps-win$BITS-gitian-r10.zip done # for BITS in |