Commit 34e983c6 authored by Akash Kothari's avatar Akash Kothari
Browse files

Minor modifications to hpvm-config ReadME and llvm installer

parent cac24fe5
...@@ -40,9 +40,9 @@ fi ...@@ -40,9 +40,9 @@ fi
if [ -d $LLVM_SRC ]; then if [ -d $LLVM_SRC ]; then
echo Found $LLVM_SRC! echo Found $LLVM_SRC, not dowloading it again!
elif [ -d llvm ]; then elif [ -d llvm ]; then
echo Found llvm, not downloading $LLVM_SRC! echo Found LLVM, not downloading it again!
else else
echo $WGET $URL/$VERSION/$LLVM_SRC$SUFFIX echo $WGET $URL/$VERSION/$LLVM_SRC$SUFFIX
$WGET $URL/$VERSION/$LLVM_SRC$SUFFIX $WGET $URL/$VERSION/$LLVM_SRC$SUFFIX
...@@ -56,7 +56,7 @@ if [ -d $LLVM_SRC ]; then ...@@ -56,7 +56,7 @@ if [ -d $LLVM_SRC ]; then
elif [ -d llvm ]; then elif [ -d llvm ]; then
echo Everything looks sane. echo Everything looks sane.
else else
echo Install had problems. Quitting. echo Problem with LLVM download. Exiting!
exit exit
fi fi
...@@ -66,7 +66,7 @@ if [ -d $CURRENT_DIR/$LLVM_SRC/tools ]; then ...@@ -66,7 +66,7 @@ if [ -d $CURRENT_DIR/$LLVM_SRC/tools ]; then
cd $CURRENT_DIR/$LLVM_SRC/tools cd $CURRENT_DIR/$LLVM_SRC/tools
echo In tools. echo In tools.
else else
echo Fail! Something is wrong with your $LLVM_SRC checkout! echo Something is wrong with LLVM checkout. Exiting!
exit 1 exit 1
fi fi
...@@ -80,20 +80,13 @@ else ...@@ -80,20 +80,13 @@ else
if [ -d clang ]; then if [ -d clang ]; then
echo Everything looks sane. echo Everything looks sane.
else else
echo Install had problems. Quitting. echo Problem with clang download. Exiting!
exit exit
fi fi
fi fi
cd $CURRENT_DIR cd $CURRENT_DIR
if [ -d $CURRENT_DIR/$LLVM_SRC/projects ]; then
cd $CURRENT_DIR/$LLVM_SRC/projects
else
echo Fail! Something is wrong wint $LLVM_SRC.
exit 1
fi
HPVM_DIR=$CURRENT_DIR/$LLVM_SRC/tools/hpvm HPVM_DIR=$CURRENT_DIR/$LLVM_SRC/tools/hpvm
if [ ! -d $HPVM_DIR ]; then if [ ! -d $HPVM_DIR ]; then
......
...@@ -11,6 +11,10 @@ flags required to compile HPVM programs. ...@@ -11,6 +11,10 @@ flags required to compile HPVM programs.
### Options ### Options
–version: Print the version number of HPVM. –version: Print the version number of HPVM.
-llvm-version: Print LLVM version.
-hpvm-version: Print HPVM version.
-help: Print a summary of llvm-config arguments. -help: Print a summary of llvm-config arguments.
–prefix: Print the installation prefix for LLVM. –prefix: Print the installation prefix for LLVM.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment