mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
a4782418de
This incorporates some fixes for ccache, icecream, and a better display output (decreasing count instead of an increasing count). It may also let us experiment with incremental rust support, though I think that feature still needs some more work. MozReview-Commit-ID: 7zPGiL9Ob6N Differential Revision: https://phabricator.services.mozilla.com/D7152 --HG-- extra : moz-landing-system : lando
25 lines
560 B
Bash
Executable File
25 lines
560 B
Bash
Executable File
#!/bin/bash
|
|
set -e -v
|
|
|
|
# This script is for building tup on Linux.
|
|
|
|
TUP_REVISION=v0.7.8
|
|
|
|
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'; echo 'CONFIG_TUP_USE_SYSTEM_PCRE=n') > 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
|