We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16128ee commit b0efe7aCopy full SHA for b0efe7a
build-clang-with-args.sh
@@ -51,8 +51,10 @@ cd "${build_top_dir}/build"
51
52
53
llvm_dir="${build_top_dir}/build/llvm-project"
54
-if [ ! -d "${llvm_dir}" ]; then
55
- git clone --branch ${LLVM_BRANCH} ${LLVM_URL} "${llvm_dir}"
+if [ ! -d "$llvm_dir" ]; then
+ git clone "$LLVM_URL" "$llvm_dir" \
56
+ --branch "$LLVM_BRANCH" \
57
+ --depth 1
58
fi
59
cd "${llvm_dir}"
60
git fetch origin
0 commit comments