Skip to content

Commit be69c51

Browse files
authored
git download the llvm repo in 1 depth (#187)
1 parent 881b46c commit be69c51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wamr-compiler/build_llvm.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/sh
22

3-
# Copyright (C) 2019 Intel Corporation. All rights reserved.
3+
# Copyright (C) 2020 Intel Corporation. All rights reserved.
44
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
55

66
DEPS_DIR=${PWD}/../core/deps
77

88
cd ${DEPS_DIR}
99
if [ ! -d "llvm" ]; then
1010
echo "Clone llvm to core/deps/ .."
11-
git clone https://github.com/llvm-mirror/llvm.git
11+
git clone --depth 1 https://github.com/llvm-mirror/llvm.git
1212
fi
1313

1414
cd llvm

0 commit comments

Comments
 (0)