mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
c15ef2edff
We're soon going to build multiple versions of clang and gcc for linux, and we need to differentiate them. Furthermore, there is a need for the base-toolchains builds to use a fixed version of clang and gcc. So rename the clang and gcc toolchain jobs to include their version, add aliases to satisfy all existing jobs, and adjust the base-toolchains jobs to use the explicit version. --HG-- rename : build/build-clang/clang-linux64.json => build/build-clang/clang-3.9-linux64.json rename : taskcluster/scripts/misc/build-gcc-linux.sh => taskcluster/scripts/misc/build-gcc-4.9-linux.sh
26 lines
480 B
Bash
Executable File
26 lines
480 B
Bash
Executable File
#!/bin/bash
|
|
set -x -e -v
|
|
|
|
# This script is for building clang for Linux.
|
|
|
|
WORKSPACE=$HOME/workspace
|
|
HOME_DIR=$WORKSPACE/build
|
|
UPLOAD_DIR=$HOME/artifacts
|
|
|
|
cd $HOME_DIR/src
|
|
|
|
. taskcluster/scripts/misc/tooltool-download.sh
|
|
|
|
# gets a bit too verbose here
|
|
set +x
|
|
|
|
cd build/build-clang
|
|
# |mach python| sets up a virtualenv for us!
|
|
../../mach python ./build-clang.py -c clang-3.9-linux64.json
|
|
|
|
set -x
|
|
|
|
# Put a tarball in the artifacts dir
|
|
mkdir -p $UPLOAD_DIR
|
|
cp clang.tar.* $UPLOAD_DIR
|