diff options
| author | Dev Random <[email protected]> | 2011-08-23 08:43:24 -0400 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2011-08-23 13:00:34 -0400 |
| commit | 3bb23e5c8b0d760f587a6a97089b50e9d45b9a95 (patch) | |
| tree | 6e2cc32ddd4f5e6c50484c1d3336ab5c79f93069 | |
| parent | Mingw gitian with separate wxWidgets and boost (diff) | |
| download | discoin-3bb23e5c8b0d760f587a6a97089b50e9d45b9a95.tar.xz discoin-3bb23e5c8b0d760f587a6a97089b50e9d45b9a95.zip | |
Mingw gitian build with deterministic bitcoin.exe by use of faketime
| -rw-r--r-- | contrib/gitian-win32.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/gitian-win32.yml b/contrib/gitian-win32.yml index 9dce28fba..963c38139 100644 --- a/contrib/gitian-win32.yml +++ b/contrib/gitian-win32.yml @@ -9,6 +9,7 @@ packages: - "git-core" - "unzip" - "nsis" +- "faketime" reference_datetime: "2011-01-30 00:00:00" remotes: - "url": "https://github.com/bitcoin/bitcoin.git" @@ -76,7 +77,10 @@ script: | cp $OUTDIR/src/doc/README_windows.txt $OUTDIR/readme.txt cp $OUTDIR/src/COPYING $OUTDIR/license.txt cd src - sed 's/$(DEBUGFLAGS)//' -i makefile.linux-mingw + sed 's/$(DEBUGFLAGS)/-frandom-seed=bitcoin/' -i makefile.linux-mingw + export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1 + export FAKETIME=$REFERENCE_DATETIME + export TZ=UTC make -f makefile.linux-mingw $MAKEOPTS DEPSDIR=$HOME/build bitcoin.exe USE_UPNP=1 make -f makefile.linux-mingw $MAKEOPTS DEPSDIR=$HOME/build bitcoind.exe USE_UPNP=0 i586-mingw32msvc-strip bitcoin.exe |