Przeglądaj źródła

download llvm in 1 depth

Wang Xin 6 lat temu
rodzic
commit
81fee9c2ff
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      wamr-compiler/build_llvm.sh

+ 2 - 2
wamr-compiler/build_llvm.sh

@@ -1,6 +1,6 @@
 #!/bin/sh
 #!/bin/sh
 
 
-# Copyright (C) 2019 Intel Corporation. All rights reserved.
+# Copyright (C) 2020 Intel Corporation. All rights reserved.
 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 
 DEPS_DIR=${PWD}/../core/deps
 DEPS_DIR=${PWD}/../core/deps
@@ -8,7 +8,7 @@ DEPS_DIR=${PWD}/../core/deps
 cd ${DEPS_DIR}
 cd ${DEPS_DIR}
 if [ ! -d "llvm" ]; then
 if [ ! -d "llvm" ]; then
   echo "Clone llvm to core/deps/ .."
   echo "Clone llvm to core/deps/ .."
-  git clone https://github.com/llvm-mirror/llvm.git
+  git clone --depth 1 https://github.com/llvm-mirror/llvm.git
 fi
 fi
 
 
 cd llvm
 cd llvm