forked from mirrors/gecko-dev
Build the latest tup master branch with the LD_PRELOAD dependency checker. MozReview-Commit-ID: ALfnnmOZrky --HG-- extra : rebase_source : 529d4392ef73e03f66fb76f089f8b88f45b44972
24 lines
555 B
Bash
Executable file
24 lines
555 B
Bash
Executable file
#!/bin/bash
|
|
set -e -v
|
|
|
|
# This script is for building tup on Linux.
|
|
|
|
TUP_REVISION=411cb983147a048ea2bc6f8c56f7f55fd248ce60
|
|
|
|
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
|