Skip to content
Snippets Groups Projects
Commit 3cd37ae2 authored by Akash Kothari's avatar Akash Kothari
Browse files

Updated installer script to not install compiler runtime and LLD

parent e24d6a1d
No related branches found
No related tags found
No related merge requests found
......@@ -16,10 +16,8 @@ NUM_THREADS=2
SUFFIX=".tar.xz"
CLANG_SRC="cfe-$VERSION.src"
LLVM_SRC="llvm-$VERSION.src"
RT_SRC="compiler-rt-$VERSION.src"
LIBCXX_SRC="libcxx-$VERSION.src"
LIBCXXABI_SRC="libcxxabi-$VERSION.src"
LLD_SRC="lld-$VERSION.src"
AUTOMATE="y"
......@@ -91,21 +89,6 @@ else
exit 1
fi
if [ -d compiler-rt ]; then
echo Found compiler-rt! Not downloading compiler-rt again.
else
$WGET $URL/$VERSION/$RT_SRC$SUFFIX
tar xf $RT_SRC$SUFFIX
rm $RT_SRC$SUFFIX
mv $RT_SRC compiler-rt
if [ -d compiler-rt ]; then
echo Everything looks sane.
else
echo Install had problems. Quitting.
exit
fi
fi
if [ -d libcxx ]; then
echo Found libcxx! Not downloading libcxx again.
else
......@@ -138,23 +121,6 @@ if [ $LIBCXXABI_SRC != "" ]; then
fi
fi
if [ $LLD_SRC != "" ]; then
if [ -d lld ]; then
echo Found lld! Not downloading lld again.
else
$WGET $URL/$VERSION/$LLD_SRC$SUFFIX
tar xf $LLD_SRC$SUFFIX
rm $LLD_SRC$SUFFIX
mv $LLD_SRC lld
if [ -d lld ]; then
echo Everything looks sane.
else
echo Install had problems. Quitting.
exit
fi
fi
fi
HPVM_DIR=$CURRENT_DIR/$LLVM_SRC/tools/hpvm
if [ ! -d $HPVM_DIR ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment