Changeset View
Changeset View
Standalone View
Standalone View
contrib/gitian-descriptors/gitian-osx.yml
Show All 30 Lines | |||||
- "python3-dev" | - "python3-dev" | ||||
- "python3-pip" | - "python3-pip" | ||||
- "python3-setuptools" | - "python3-setuptools" | ||||
- "xorriso" | - "xorriso" | ||||
remotes: | remotes: | ||||
- "url": "https://github.com/Bitcoin-ABC/bitcoin-abc.git" | - "url": "https://github.com/Bitcoin-ABC/bitcoin-abc.git" | ||||
"dir": "bitcoin" | "dir": "bitcoin" | ||||
files: | files: | ||||
- "Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz" | - "Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz" | ||||
script: | | script: | | ||||
WRAP_DIR=$HOME/wrapped | WRAP_DIR=$HOME/wrapped | ||||
HOSTS=( | HOSTS=( | ||||
x86_64-apple-darwin18 | x86_64-apple-darwin19 | ||||
) | ) | ||||
# CMake toolchain file name differ from host name | # CMake toolchain file name differ from host name | ||||
declare -A CMAKE_TOOLCHAIN_FILE | declare -A CMAKE_TOOLCHAIN_FILE | ||||
CMAKE_TOOLCHAIN_FILE[x86_64-apple-darwin18]=OSX.cmake | CMAKE_TOOLCHAIN_FILE[x86_64-apple-darwin19]=OSX.cmake | ||||
FAKETIME_HOST_PROGS="" | FAKETIME_HOST_PROGS="" | ||||
FAKETIME_PROGS="ar ranlib date dmg xorrisofs" | FAKETIME_PROGS="ar ranlib date dmg xorrisofs" | ||||
export QT_RCC_TEST=1 | export QT_RCC_TEST=1 | ||||
export QT_RCC_SOURCE_DATE_OVERRIDE=1 | export QT_RCC_SOURCE_DATE_OVERRIDE=1 | ||||
export TZ="UTC" | export TZ="UTC" | ||||
export BUILD_DIR=`pwd` | export BUILD_DIR=`pwd` | ||||
Show All 38 Lines | script: | | ||||
create_per-host_faketime_wrappers "2000-01-01 12:00:00" | create_per-host_faketime_wrappers "2000-01-01 12:00:00" | ||||
export PATH=${WRAP_DIR}:${PATH} | export PATH=${WRAP_DIR}:${PATH} | ||||
cd bitcoin | cd bitcoin | ||||
SOURCEDIR=`pwd` | SOURCEDIR=`pwd` | ||||
BASEPREFIX=`pwd`/depends | BASEPREFIX=`pwd`/depends | ||||
mkdir -p ${BASEPREFIX}/SDKs | mkdir -p ${BASEPREFIX}/SDKs | ||||
tar -C ${BASEPREFIX}/SDKs -xf ${BUILD_DIR}/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz | tar -C ${BASEPREFIX}/SDKs -xf ${BUILD_DIR}/Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz | ||||
# Build dependencies for each host | # Build dependencies for each host | ||||
for i in ${HOSTS[@]}; do | for i in ${HOSTS[@]}; do | ||||
make ${MAKEOPTS} -C ${BASEPREFIX} HOST="${i}" | make ${MAKEOPTS} -C ${BASEPREFIX} HOST="${i}" | ||||
done | done | ||||
# Faketime for binaries | # Faketime for binaries | ||||
export PATH=${PATH_orig} | export PATH=${PATH_orig} | ||||
▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines |