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:45:29 +0000 |
commit | 4991b8c322c72525f11bf63d2309fdc35e29f674 (patch) | |
tree | 0a4caecd8f3712069d7f7c5d807df71fbc5a009e /contrib/gitian/gitian-freebsd.yml | |
parent | Add ARFLAGS (diff) | |
download | monero-4991b8c322c72525f11bf63d2309fdc35e29f674.tar.xz |
Use standard time for depends caches
streamline, remove obsolete wrappers
Diffstat (limited to 'contrib/gitian/gitian-freebsd.yml')
-rw-r--r-- | contrib/gitian/gitian-freebsd.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/gitian/gitian-freebsd.yml b/contrib/gitian/gitian-freebsd.yml index 3402a2b6c..0220b82a5 100644 --- a/contrib/gitian/gitian-freebsd.yml +++ b/contrib/gitian/gitian-freebsd.yml @@ -8,7 +8,6 @@ architectures: packages: - "curl" - "clang-8" -- "llvm-8" - "gperf" - "gcc-7" - "g++-7" @@ -41,13 +40,12 @@ script: | WRAP_DIR=$HOME/wrapped HOSTS="x86_64-unknown-freebsd" FAKETIME_HOST_PROGS="" - FAKETIME_PROGS="clang-8 clang++-8 llvm-ar-8 llvm-ranlib-8 date" + FAKETIME_PROGS="clang-8 clang++-8 date" HOST_CFLAGS="-O2 -g" HOST_CXXFLAGS="-O2 -g" 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} @@ -85,14 +83,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 @@ -105,6 +102,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 @@ -116,6 +114,8 @@ script: | ORIGPATH="$PATH" # Build in a new dir for each host + export SOURCE_DATE_EPOCH=`date -d ${REFERENCE_DATE}T${REFERENCE_TIME} +%s` + export TAR_OPTIONS=--mtime=${REFERENCE_DATE}T${REFERENCE_TIME} for i in ${HOSTS}; do export PATH=${WRAP_DIR}:${BASEPREFIX}/${i}/native/bin:${ORIGPATH} mkdir build && cd build |