Lines Matching +full:cherry +full:- +full:pick
2 #===- llvm/utils/docker/scripts/checkout.sh ---------------------===//
6 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 #===-----------------------------------------------------------------------===//
10 set -e
16 Checkout git sources into /tmp/clang-build/src. Used inside a docker container.
19 -h|--help show this help message
20 -b|--branch git branch to checkout, i.e. 'main',
23 -r|--revision git revision to checkout
24 -c|--cherrypick revision to cherry-pick. Can be specified multiple times.
25 Cherry-picks are performed in the sorted order using the
27 'git cherry-pick \$rev)'.
35 while [[ $# -gt 0 ]]; do
37 -r|--revision)
42 -c|--cherrypick)
47 -b|--branch)
52 -h|--help)
75 CHERRYPICKS="$(echo "$CHERRYPICKS" | xargs -n1 | sort | uniq | xargs)"
85 echo "Cherry-picking $CHERRY_REV into $CHECKOUT_DIR"
86 EMAIL="someone@somewhere.net" git cherry-pick "$CHERRY_REV"
92 CLANG_BUILD_DIR=/tmp/clang-build
96 mkdir -p "$CLANG_BUILD_DIR/src"
99 echo "Checking out https://github.com/llvm/llvm-project.git to $CHECKOUT_DIR"
100 git clone -b "$LLVM_BRANCH" --single-branch \
101 "https://github.com/llvm/llvm-project.git" \
105 git checkout -q $GIT_REV_ARG
110 # cherrypick, applying the cherrypick is a no-op.
115 if [ -f "$CHECKSUMS_FILE" ]; then
117 python "$(dirname "$0")/llvm_checksum/llvm_checksum.py" -c "$CHECKSUMS_FILE" \
118 --partial --multi_dir "$CLANG_BUILD_DIR/src"