зеркало из https://github.com/mozilla/gecko-dev.git
27 строки
573 B
Bash
Executable File
27 строки
573 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=$WORKSPACE/artifacts
|
|
|
|
cd $HOME_DIR/src
|
|
|
|
TOOLTOOL_MANIFEST=browser/config/tooltool-manifests/linux64/releng.manifest
|
|
. 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-static-analysis-linux64.json
|
|
|
|
set -x
|
|
|
|
# Put a tarball in the artifacts dir
|
|
mkdir -p $UPLOAD_DIR
|
|
cp clang.tar.* $UPLOAD_DIR
|