Changeset View
Changeset View
Standalone View
Standalone View
contrib/gitian-descriptors/gitian-osx.yml
Show All 34 Lines | |||||
# improved to avoid requiring all the bitcoin-abc dependencies. | # improved to avoid requiring all the bitcoin-abc dependencies. | ||||
- "libboost-all-dev" | - "libboost-all-dev" | ||||
- "libevent-dev" | - "libevent-dev" | ||||
- "libssl-dev" | - "libssl-dev" | ||||
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: | ||||
- "MacOSX10.11.sdk.tar.gz" | - "MacOSX10.14.sdk.tar.gz" | ||||
script: | | script: | | ||||
WRAP_DIR=$HOME/wrapped | WRAP_DIR=$HOME/wrapped | ||||
HOSTS="x86_64-apple-darwin16" | HOSTS="x86_64-apple-darwin16" | ||||
# 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-darwin16]=OSX.cmake | CMAKE_TOOLCHAIN_FILE[x86_64-apple-darwin16]=OSX.cmake | ||||
▲ Show 20 Lines • Show All 47 Lines • ▼ Show 20 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}/MacOSX10.11.sdk.tar.gz | tar -C ${BASEPREFIX}/SDKs -xf ${BUILD_DIR}/MacOSX10.14.sdk.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 90 Lines • Show Last 20 Lines |