forked from mirrors/gecko-dev
		
	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
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			480 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			25 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
 |