Skip to content
Snippets Groups Projects
Commit 89252d81 authored by Adel Ejjeh's avatar Adel Ejjeh
Browse files

Merge branch 'hpvm-release-exp' of https://gitlab.engr.illinois.edu/llvm/hpvm into hpvm-release-exp

parents 3ed9c48f 63e652ba
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ HPVM installer script can be used to download, configure and build HPVM along wi
cd hpvm
bash install.sh
```
Specifically, the HPVM installer downloads LLVM, Clang, compiler-rt, libcxxabi and lld, copies HPVM source into
Specifically, the HPVM installer downloads LLVM, Clang, libcxx and libcxxabi, copies HPVM source into
llvm/tools and builds the entire tree. It also builds a modified LLVM C-Backend, based on the one maintained by [Julia Computing](https://github.com/JuliaComputing/llvm-cbe), as a part of HPVM and is currently used
to generate OpenCL kernels for GPUs.
......
......@@ -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