Changeset View
Changeset View
Standalone View
Standalone View
contrib/gitian-descriptors/gitian-osx.yml
--- | --- | ||||
name: "bitcoin-osx-0.15" | name: "bitcoin-abc-0.15-osx" | ||||
enable_cache: true | enable_cache: true | ||||
suites: | suites: | ||||
- "trusty" | - "trusty" | ||||
architectures: | architectures: | ||||
- "amd64" | - "amd64" | ||||
packages: | packages: | ||||
- "ca-certificates" | - "ca-certificates" | ||||
- "curl" | - "curl" | ||||
Show All 12 Lines | |||||
- "libcap-dev" | - "libcap-dev" | ||||
- "libz-dev" | - "libz-dev" | ||||
- "libbz2-dev" | - "libbz2-dev" | ||||
- "python" | - "python" | ||||
- "python-dev" | - "python-dev" | ||||
- "python-setuptools" | - "python-setuptools" | ||||
- "fonts-tuffy" | - "fonts-tuffy" | ||||
remotes: | remotes: | ||||
- "url": "https://github.com/bitcoin/bitcoin.git" | - "url": "https://github.com/Bitcoin-ABC/bitcoin-abc.git" | ||||
"dir": "bitcoin" | "dir": "bitcoin" | ||||
files: | files: | ||||
- "MacOSX10.11.sdk.tar.gz" | - "MacOSX10.11.sdk.tar.gz" | ||||
script: | | script: | | ||||
WRAP_DIR=$HOME/wrapped | WRAP_DIR=$HOME/wrapped | ||||
HOSTS="x86_64-apple-darwin11" | HOSTS="x86_64-apple-darwin11" | ||||
CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests GENISOIMAGE=$WRAP_DIR/genisoimage" | CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests GENISOIMAGE=$WRAP_DIR/genisoimage" | ||||
FAKETIME_HOST_PROGS="" | FAKETIME_HOST_PROGS="" | ||||
▲ Show 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | script: | | ||||
create_global_faketime_wrappers "${REFERENCE_DATETIME}" | create_global_faketime_wrappers "${REFERENCE_DATETIME}" | ||||
create_per-host_faketime_wrappers "${REFERENCE_DATETIME}" | create_per-host_faketime_wrappers "${REFERENCE_DATETIME}" | ||||
export PATH=${WRAP_DIR}:${PATH} | export PATH=${WRAP_DIR}:${PATH} | ||||
# Create the release tarball using (arbitrarily) the first host | # Create the release tarball using (arbitrarily) the first host | ||||
./autogen.sh | ./autogen.sh | ||||
CONFIG_SITE=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`/share/config.site ./configure --prefix=/ | CONFIG_SITE=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`/share/config.site ./configure --prefix=/ | ||||
make dist | make dist | ||||
SOURCEDIST=`echo bitcoin-*.tar.gz` | SOURCEDIST=`echo bitcoin-abc-*.tar.gz` | ||||
DISTNAME=`echo ${SOURCEDIST} | sed 's/.tar.*//'` | DISTNAME=`echo ${SOURCEDIST} | sed 's/.tar.*//'` | ||||
# Correct tar file order | # Correct tar file order | ||||
mkdir -p temp | mkdir -p temp | ||||
pushd temp | pushd temp | ||||
tar xf ../$SOURCEDIST | tar xf ../$SOURCEDIST | ||||
find bitcoin-* | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ../$SOURCEDIST | find bitcoin-abc-* | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ../$SOURCEDIST | ||||
popd | popd | ||||
ORIGPATH="$PATH" | ORIGPATH="$PATH" | ||||
# Extract the release tarball into a dir for each host and build | # Extract the release tarball into a dir for each host and build | ||||
for i in ${HOSTS}; do | for i in ${HOSTS}; do | ||||
export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH} | export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH} | ||||
mkdir -p distsrc-${i} | mkdir -p distsrc-${i} | ||||
cd distsrc-${i} | cd distsrc-${i} | ||||
Show All 36 Lines |