diff options
author | Howard Chu <hyc@symas.com> | 2019-11-13 14:23:31 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2019-11-17 13:44:18 +0000 |
commit | b14d9abca90490d0137048d71305a3a42f14fc34 (patch) | |
tree | db31a81d77370d5fd9957674f89f6f2a2be41a83 /contrib/gitian/gitian-android.yml | |
parent | Add ARFLAGS (diff) | |
download | monero-b14d9abca90490d0137048d71305a3a42f14fc34.tar.xz |
Use standard time for depends caches
streamline, remove obsolete wrappers
Diffstat (limited to '')
-rw-r--r-- | contrib/gitian/gitian-android.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/gitian/gitian-android.yml b/contrib/gitian/gitian-android.yml index bade0475f..02614b1a5 100644 --- a/contrib/gitian/gitian-android.yml +++ b/contrib/gitian/gitian-android.yml @@ -46,7 +46,6 @@ script: | HOST_LDFLAGS=-static-libstdc++ export GZIP="-9n" - export TAR_OPTIONS="--mtime="$REFERENCE_DATE\\\ $REFERENCE_TIME"" export TZ="UTC" export BUILD_DIR=`pwd` mkdir -p ${WRAP_DIR} @@ -89,14 +88,13 @@ script: | } # Faketime for depends so intermediate results are comparable - DUMMYTIME="2000-01-01 12:00:00" export PATH_orig=${PATH} - create_global_faketime_wrappers "$DUMMYTIME" - create_per-host_faketime_wrappers "$DUMMYTIME" + create_global_faketime_wrappers "2000-01-01 12:00:00" + create_per-host_faketime_wrappers "2000-01-01 12:00:00" export PATH=${WRAP_DIR}:${PATH} # gcc 7+ honors SOURCE_DATE_EPOCH, no faketime needed - export SOURCE_DATE_EPOCH=`date -d "$DUMMYTIME" +%s` + export SOURCE_DATE_EPOCH=`date -d 2000-01-01T12:00:00 +%s` git config --global core.abbrev 9 cd monero @@ -109,6 +107,7 @@ script: | BASEPREFIX=`pwd`/contrib/depends # Build dependencies for each host + export TAR_OPTIONS=--mtime=2000-01-01T12:00:00 for i in $HOSTS; do make ${MAKEOPTS} -C ${BASEPREFIX} HOST="${i}" done @@ -119,6 +118,7 @@ script: | create_per-host_faketime_wrappers "${REFERENCE_DATETIME}" # Build in a new dir for each host + export TAR_OPTIONS=--mtime=${REFERENCE_DATE}T${REFERENCE_TIME} for i in ${HOSTS}; do export PATH=${WRAP_DIR}:${BASEPREFIX}/${i}/native/bin:${PATH_orig} mkdir build && cd build |