Skip to content

Commit

Permalink
git download the llvm repo in 1 depth (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
xwang98 authored Mar 5, 2020
1 parent 881b46c commit be69c51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wamr-compiler/build_llvm.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/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

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

cd ${DEPS_DIR}
if [ ! -d "llvm" ]; then
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

cd llvm
Expand Down

0 comments on commit be69c51

Please sign in to comment.