From c3a28290699ca9cb9a0ace32863cecd67380bd11 Mon Sep 17 00:00:00 2001
From: Akash Kothari <akashk4@tyler.cs.illinois.edu>
Date: Wed, 29 Jan 2020 11:15:05 -0600
Subject: [PATCH] Do not download libcxx and libcxxabi

---
 hpvm/scripts/llvm_installer.sh | 34 ----------------------------------
 1 file changed, 34 deletions(-)

diff --git a/hpvm/scripts/llvm_installer.sh b/hpvm/scripts/llvm_installer.sh
index 4de8d15dfd..a37b6b2e56 100755
--- a/hpvm/scripts/llvm_installer.sh
+++ b/hpvm/scripts/llvm_installer.sh
@@ -16,8 +16,6 @@ NUM_THREADS=2
 SUFFIX=".tar.xz"
 CLANG_SRC="cfe-$VERSION.src"
 LLVM_SRC="llvm-$VERSION.src"
-LIBCXX_SRC="libcxx-$VERSION.src"
-LIBCXXABI_SRC="libcxxabi-$VERSION.src"
 
 HPVM_RT=hpvm-rt/hpvm-rt.bc
 
@@ -96,38 +94,6 @@ else
     exit 1
 fi
 
-if [ -d libcxx ]; then
-    echo Found libcxx! Not downloading libcxx again.
-else
-    $WGET $URL/$VERSION/$LIBCXX_SRC$SUFFIX
-    tar xf $LIBCXX_SRC$SUFFIX
-    rm $LIBCXX_SRC$SUFFIX
-    mv $LIBCXX_SRC libcxx
-    if [ -d libcxx ]; then
-	echo Everything looks sane.
-    else
-	echo Install had problems. Quitting.
-	exit
-    fi
-fi
-
-if [ $LIBCXXABI_SRC != "" ]; then
-    if [ -d libcxxabi ]; then
-	echo Found libcxxabi! Not downloading libcxx again.
-    else
-	$WGET $URL/$VERSION/$LIBCXXABI_SRC$SUFFIX
-	tar xf $LIBCXXABI_SRC$SUFFIX
-	rm $LIBCXXABI_SRC$SUFFIX
-	mv $LIBCXXABI_SRC libcxxabi
-	if [ -d libcxxabi ]; 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
-- 
GitLab