fune/taskcluster/scripts/misc/build-tup-linux.sh
Mike Shal 02a25dd9b0 Bug 1480494 - Update tup toolchain to e948a999a38fefa0ac0d92f6357f82aca2f9cb17; r=chmanchester
This includes a fix for the style build script hang where pthreads fork
subprocesses, as well as a fix for ignoring the icecream file lock.

MozReview-Commit-ID: 29eNcbNtwB1

Differential Revision: https://phabricator.services.mozilla.com/D4139

--HG--
extra : moz-landing-system : lando
2018-08-23 16:58:29 +00:00

24 lines
555 B
Bash
Executable file

#!/bin/bash
set -e -v
# This script is for building tup on Linux.
TUP_REVISION=e948a999a38fefa0ac0d92f6357f82aca2f9cb17
WORKSPACE=$HOME/workspace
UPLOAD_DIR=$HOME/artifacts
COMPRESS_EXT=xz
export PATH=$WORKSPACE/build/src/gcc/bin:$PATH
cd $WORKSPACE/build/src
. taskcluster/scripts/misc/tooltool-download.sh
git clone https://github.com/gittup/tup.git
cd tup
git checkout $TUP_REVISION
echo 'CONFIG_TUP_SERVER=ldpreload' > tup.config
./bootstrap-ldpreload.sh
cd ..
tar caf tup.tar.xz tup/tup tup/tup-ldpreload.so tup/tup.1
cp tup.tar.xz $UPLOAD_DIR