Files
tubestation/taskcluster/scripts/misc/build-tup-linux.sh
Mike Shal d2e89ca5cc Bug 1377524 - Update tup toolchain to v0.7.6; r=chmanchester
MozReview-Commit-ID: cdVkPSToXs
2018-05-24 14:53:15 -04:00

25 lines
521 B
Bash
Executable File

#!/bin/bash
set -e -v
# This script is for building tup on Linux.
TUP_REVISION=v0.7.6
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