Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hpvm-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
hpvm-release
Commits
34e983c6
Commit
34e983c6
authored
5 years ago
by
Akash Kothari
Browse files
Options
Downloads
Patches
Plain Diff
Minor modifications to hpvm-config ReadME and llvm installer
parent
cac24fe5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hpvm/scripts/llvm_installer.sh
+5
-12
5 additions, 12 deletions
hpvm/scripts/llvm_installer.sh
hpvm/tools/README.md
+4
-0
4 additions, 0 deletions
hpvm/tools/README.md
with
9 additions
and
12 deletions
hpvm/scripts/llvm_installer.sh
+
5
−
12
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
...
...
This diff is collapsed.
Click to expand it.
hpvm/tools/README.md
+
4
−
0
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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment