Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
llvm
hpvm-release
Commits
34e983c6
Commit
34e983c6
authored
Feb 04, 2020
by
Akash Kothari
Browse files
Minor modifications to hpvm-config ReadME and llvm installer
parent
cac24fe5
Changes
2
Hide whitespace changes
Inline
Side-by-side
hpvm/scripts/llvm_installer.sh
View file @
34e983c6
...
...
@@ -40,9 +40,9 @@ fi
if
[
-d
$LLVM_SRC
]
;
then
echo
Found
$LLVM_SRC
!
echo
Found
$LLVM_SRC
, not dowloading it again
!
elif
[
-d
llvm
]
;
then
echo
Found
llvm
, not downloading
$LLVM_SRC
!
echo
Found
LLVM
, not downloading
it again
!
else
echo
$WGET
$URL
/
$VERSION
/
$LLVM_SRC$SUFFIX
$WGET
$URL
/
$VERSION
/
$LLVM_SRC$SUFFIX
...
...
@@ -56,7 +56,7 @@ if [ -d $LLVM_SRC ]; then
elif
[
-d
llvm
]
;
then
echo
Everything looks sane.
else
echo
Install had problems. Quit
ting
.
echo
Problem with LLVM download. Exi
ting
!
exit
fi
...
...
@@ -66,7 +66,7 @@ if [ -d $CURRENT_DIR/$LLVM_SRC/tools ]; then
cd
$CURRENT_DIR
/
$LLVM_SRC
/tools
echo
In tools.
else
echo
Fail!
Something is wrong with
your
$LLVM_SRC
checkout!
echo
Something is wrong with
LLVM checkout. Exiting!
exit
1
fi
...
...
@@ -80,20 +80,13 @@ else
if
[
-d
clang
]
;
then
echo
Everything looks sane.
else
echo
Install had problems. Quit
ting
.
echo
Problem with clang download. Exi
ting
!
exit
fi
fi
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
if
[
!
-d
$HPVM_DIR
]
;
then
...
...
hpvm/tools/README.md
View file @
34e983c6
...
...
@@ -11,6 +11,10 @@ flags required to compile HPVM programs.
### Options
–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.
–prefix: Print the installation prefix for LLVM.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment