Files
tubestation/testing/taskcluster/scripts/misc/build-gcc-linux.sh
Mike Hommey 3bb54c8cd1 Bug 1262729 - Allow to more conveniently build toolchains. r=dustin
Currently, we have in-tree scripts that allow to build our toolchains.
We also have a taskcluster script for clang that can be used in with
manually created taskcluster tasks. I wrote a similar script for gcc a
while ago, for the same usage.

This change hooks all these up such that one can do a try push with
`-j linux64-clang` or `-j linux64-gcc` and get a toolchain built as a
result.

It also hooks things up such that changes to the toolchain build scripts
trigger those jobs as well, so as to ensure they are not broken by the
changes.
2016-04-15 08:17:36 +09:00

17 lines
307 B
Bash
Executable File

#!/bin/bash
set -e
# This script is for building GCC for Linux.
WORKSPACE=$HOME/workspace
HOME_DIR=$WORKSPACE/build
UPLOAD_DIR=$WORKSPACE/artifacts
cd $HOME_DIR/src
build/unix/build-gcc/build-gcc.sh $HOME_DIR
# Put a tarball in the artifacts dir
mkdir -p $UPLOAD_DIR
cp $HOME_DIR/gcc.tar.* $UPLOAD_DIR