File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
contrib/gitian-descriptors Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,14 @@ files:
20
20
script : |
21
21
STAGING="$HOME/install"
22
22
export LIBRARY_PATH="$STAGING/lib"
23
+ export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1
24
+ export FAKETIME=$REFERENCE_DATETIME
25
+ export TZ=UTC
23
26
# Input Integrity Check
24
27
echo "fff00023dd79486d444c8e29922f4072e1d451fc5a4d2b6075852ead7f2b7b52 boost_1_55_0.tar.bz2" | shasum -c
25
28
26
29
mkdir -p "$STAGING"
27
- tar xjf boost_1_55_0.tar.bz2
30
+ tar --warning=no-timestamp - xjf boost_1_55_0.tar.bz2
28
31
cd boost_1_55_0
29
32
GCCVERSION=$(g++ -E -dM $(mktemp --suffix=.h) | grep __VERSION__ | cut -d ' ' -f 3 | cut -d '"' -f 2)
30
33
# note: bjam with -d+2 reveals that -O3 is implied by default, no need to provide it in cxxflags
@@ -38,6 +41,4 @@ script: |
38
41
./bjam toolset=gcc threadapi=pthread threading=multi variant=release link=static runtime-link=shared --user-config=user-config.jam --without-mpi --without-python -sNO_BZIP2=1 --layout=tagged --build-type=complete --prefix="$STAGING" $MAKEOPTS install
39
42
40
43
cd "$STAGING"
41
- export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1
42
- export FAKETIME=$REFERENCE_DATETIME
43
- zip -r $OUTDIR/boost-linux${GBUILD_BITS}-1.55.0-gitian-r1.zip *
44
+ find -type f | sort | zip -X@ $OUTDIR/boost-linux${GBUILD_BITS}-1.55.0-gitian-r1.zip
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ script: |
56
56
cd qrencode-3.4.3
57
57
unset FAKETIME # unset fake time during configure, as it does some clock sanity tests
58
58
# need --with-pic to avoid relocation error in 64 bit builds
59
- ./configure --prefix=$STAGING --enable-static --disable-shared --with-pic --without-tools --disable-dependency-tracking --without-zlib
59
+ ./configure --prefix=$STAGING --enable-static --disable-shared --with-pic --without-tools --disable-dependency-tracking
60
60
# Workaround to prevent re-configuring by make; make all files have a date in the past
61
61
find . -print0 | xargs -r0 touch -t 200001010000
62
62
export FAKETIME=$REFERENCE_DATETIME
@@ -68,7 +68,7 @@ script: |
68
68
mkdir -p $STAGING/host/bin
69
69
unset FAKETIME # unset fake time during configure, as it does some clock sanity tests
70
70
# need --with-pic to avoid relocation error in 64 bit builds
71
- ./configure --prefix=$STAGING --bindir=$STAGING/host/bin --enable-static --disable-shared --with-pic
71
+ ./configure --prefix=$STAGING --bindir=$STAGING/host/bin --enable-static --disable-shared --with-pic --without-zlib
72
72
# Workaround to prevent re-configuring by make; make all files have a date in the past
73
73
find . -print0 | xargs -r0 touch -t 200001010000
74
74
export FAKETIME=$REFERENCE_DATETIME
You can’t perform that action at this time.
0 commit comments