Lines Matching +full:clang +full:- +full:tools
2 #===- llvm/utils/docker/scripts/checkout.sh ---------------------===//
9 #===-----------------------------------------------------------------------===//
11 set -e
17 Checkout svn sources into /tmp/clang-build/src. Used inside a docker container.
20 -h|--help show this help message
21 -b|--branch svn branch to checkout, i.e. 'trunk',
24 -p|--llvm-project name of an svn project to checkout.
25 For clang, please use 'clang', not 'cfe'.
48 while [[ $# -gt 0 ]]; do
50 --to)
55 -b|--branch)
60 -p|--llvm-project)
66 PROJ="clang"
70 if [ "$PROJ" == "clang-tools-extra" ] && [ ! contains_project "clang" ]; then
71 …echo "Project 'clang-tools-extra' specified before 'clang'. Adding 'clang' to a list of projects f…
72 LLVM_PROJECTS="$LLVM_PROJECTS clang"
79 -h|--help)
90 echo "Must specify checkout directory using --to"
97 GIT_BRANCH_ARG="--branch $LLVM_BRANCH"
101 SVN_REV_ARG="-r$LLVM_SVN_REV"
114 …" == "libcxx" ] || [ "$LLVM_PROJECT" == "libcxxabi" ] || [ "$LLVM_PROJECT" == "compiler-rt" ]; then
116 elif [ "$LLVM_PROJECT" == "clang" ]; then
117 CHECKOUT_DIR="$SOURCE_DIR/tools/clang"
118 elif [ "$LLVM_PROJECT" == "clang-tools-extra" ]; then
119 CHECKOUT_DIR="$SOURCE_DIR/tools/clang/tools/extra"
125 git clone --depth=1 $GIT_BRANCH_ARG \