forked from BrowserWorks/Waterfox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1386588 - Add a toolchain job for Clang 4. r=gps
- Loading branch information
Showing
3 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"llvm_revision": "305830", | ||
"stages": "3", | ||
"build_libcxx": true, | ||
"build_type": "Release", | ||
"assertions": false, | ||
"llvm_repo": "https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_401/final", | ||
"clang_repo": "https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_401/final", | ||
"compiler_repo": "https://llvm.org/svn/llvm-project/compiler-rt/tags/RELEASE_401/final", | ||
"libcxx_repo": "https://llvm.org/svn/llvm-project/libcxx/tags/RELEASE_401/final", | ||
"libcxxabi_repo": "https://llvm.org/svn/llvm-project/libcxxabi/tags/RELEASE_401/final", | ||
"python_path": "/usr/bin/python2.7", | ||
"gcc_dir": "/home/worker/workspace/build/src/gcc", | ||
"cc": "/home/worker/workspace/build/src/gcc/bin/gcc", | ||
"cxx": "/home/worker/workspace/build/src/gcc/bin/g++", | ||
"as": "/home/worker/workspace/build/src/gcc/bin/gcc", | ||
"patches": [ | ||
"llvm-debug-frame.patch" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/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-4-linux64.json | ||
|
||
set -x | ||
|
||
# Put a tarball in the artifacts dir | ||
mkdir -p $UPLOAD_DIR | ||
cp clang.tar.* $UPLOAD_DIR |