1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 23:04:09 +02:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
Brian Fiete 2020-11-27 06:28:59 -08:00
commit 160c5f5186

View file

@ -2,6 +2,11 @@
set -e set -e
if [ ! -d llvm-project_11_0_0 ]; then if [ ! -d llvm-project_11_0_0 ]; then
if [ -f llvm-11.0.0.src.tar.xz ]; then # if user downloaded llvm-11.0.0.src.tar.xz then use it instead
tar -xf llvm-11.0.0.src.tar.xz
mkdir llvm-project_11_0_0
mv llvm-11.0.0.src llvm-project_11_0_0/llvm
else # git clone llvm repo if llvm-11.0.0.src.tar.xz does not exists
git clone https://github.com/llvm/llvm-project.git llvm-project_11_0_0 git clone https://github.com/llvm/llvm-project.git llvm-project_11_0_0
if [ -d llvm-project_11_0_0 ]; then if [ -d llvm-project_11_0_0 ]; then
@ -9,8 +14,8 @@ if [ ! -d llvm-project_11_0_0 ]; then
git checkout llvmorg-11.0.0 git checkout llvmorg-11.0.0
cd .. cd ..
fi fi
fi
fi fi #end if llvm-project_11_0_0 exists
if [ ! -d llvm_linux_11_0_0 ]; then if [ ! -d llvm_linux_11_0_0 ]; then
mkdir llvm_linux_11_0_0 mkdir llvm_linux_11_0_0