forked from mirrors/gecko-dev
		
	This affects the location of the artifacts directory, so adjust the scripts and artifact definitions as a consequence. --HG-- extra : rebase_source : 008b8cf33957eabfcacee61de8a260b5df146ab4
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			486 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			486 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-tidy-linux64.json
 | 
						|
 | 
						|
set -x
 | 
						|
 | 
						|
# Put a tarball in the artifacts dir
 | 
						|
mkdir -p $UPLOAD_DIR
 | 
						|
cp clang-tidy.tar.* $UPLOAD_DIR
 |