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
f391115c
Commit
f391115c
authored
5 years ago
by
Adel Ejjeh
Browse files
Options
Downloads
Patches
Plain Diff
made change to installer to not compiler visc-rt separately
parent
277ef910
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hpvm/llvm_installer/llvm_installer.sh
+19
-18
19 additions, 18 deletions
hpvm/llvm_installer/llvm_installer.sh
with
19 additions
and
18 deletions
hpvm/llvm_installer/llvm_installer.sh
+
19
−
18
View file @
f391115c
...
@@ -34,6 +34,7 @@ else
...
@@ -34,6 +34,7 @@ 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
tar
xf
$LLVM_SRC$SUFFIX
tar
xf
$LLVM_SRC$SUFFIX
rm
$LLVM_SRC$SUFFIX
fi
fi
if
[
-d
$LLVM_SRC
]
;
then
if
[
-d
$LLVM_SRC
]
;
then
...
@@ -61,6 +62,7 @@ if [ -d clang ]; then
...
@@ -61,6 +62,7 @@ if [ -d clang ]; then
else
else
$WGET
$URL
/
$VERSION
/
$CLANG_SRC$SUFFIX
$WGET
$URL
/
$VERSION
/
$CLANG_SRC$SUFFIX
tar
xf
$CLANG_SRC$SUFFIX
tar
xf
$CLANG_SRC$SUFFIX
rm
$CLANG_SRC$SUFFIX
mv
$CLANG_SRC
clang
mv
$CLANG_SRC
clang
if
[
-d
clang
]
;
then
if
[
-d
clang
]
;
then
echo
Everything looks sane.
echo
Everything looks sane.
...
@@ -84,6 +86,7 @@ if [ -d compiler-rt ]; then
...
@@ -84,6 +86,7 @@ if [ -d compiler-rt ]; then
else
else
$WGET
$URL
/
$VERSION
/
$RT_SRC$SUFFIX
$WGET
$URL
/
$VERSION
/
$RT_SRC$SUFFIX
tar
xf
$RT_SRC$SUFFIX
tar
xf
$RT_SRC$SUFFIX
rm
$RT_SRC$SUFFIX
mv
$RT_SRC
compiler-rt
mv
$RT_SRC
compiler-rt
if
[
-d
compiler-rt
]
;
then
if
[
-d
compiler-rt
]
;
then
echo
Everything looks sane.
echo
Everything looks sane.
...
@@ -98,6 +101,7 @@ if [ -d libcxx ]; then
...
@@ -98,6 +101,7 @@ if [ -d libcxx ]; then
else
else
$WGET
$URL
/
$VERSION
/
$LIBCXX_SRC$SUFFIX
$WGET
$URL
/
$VERSION
/
$LIBCXX_SRC$SUFFIX
tar
xf
$LIBCXX_SRC$SUFFIX
tar
xf
$LIBCXX_SRC$SUFFIX
rm
$LIBCXX_SRC$SUFFIX
mv
$LIBCXX_SRC
libcxx
mv
$LIBCXX_SRC
libcxx
if
[
-d
libcxx
]
;
then
if
[
-d
libcxx
]
;
then
echo
Everything looks sane.
echo
Everything looks sane.
...
@@ -113,6 +117,7 @@ if [ $LIBCXXABI_SRC != "" ]; then
...
@@ -113,6 +117,7 @@ if [ $LIBCXXABI_SRC != "" ]; then
else
else
$WGET
$URL
/
$VERSION
/
$LIBCXXABI_SRC$SUFFIX
$WGET
$URL
/
$VERSION
/
$LIBCXXABI_SRC$SUFFIX
tar
xf
$LIBCXXABI_SRC$SUFFIX
tar
xf
$LIBCXXABI_SRC$SUFFIX
rm
$LIBCXXABI_SRC$SUFFIX
mv
$LIBCXXABI_SRC
libcxxabi
mv
$LIBCXXABI_SRC
libcxxabi
if
[
-d
libcxxabi
]
;
then
if
[
-d
libcxxabi
]
;
then
echo
Everything looks sane.
echo
Everything looks sane.
...
@@ -129,6 +134,7 @@ if [ $LLD_SRC != "" ]; then
...
@@ -129,6 +134,7 @@ if [ $LLD_SRC != "" ]; then
else
else
$WGET
$URL
/
$VERSION
/
$LLD_SRC$SUFFIX
$WGET
$URL
/
$VERSION
/
$LLD_SRC$SUFFIX
tar
xf
$LLD_SRC$SUFFIX
tar
xf
$LLD_SRC$SUFFIX
rm
$LLD_SRC$SUFFIX
mv
$LLD_SRC
lld
mv
$LLD_SRC
lld
if
[
-d
lld
]
;
then
if
[
-d
lld
]
;
then
echo
Everything looks sane.
echo
Everything looks sane.
...
@@ -139,25 +145,20 @@ if [ $LLD_SRC != "" ]; then
...
@@ -139,25 +145,20 @@ if [ $LLD_SRC != "" ]; then
fi
fi
fi
fi
echo
Adding HPVM sources to tree
HPVM_DIR
=
$CURRENT_DIR
/
$LLVM_SRC
/tools/hpvm
if
[
-d
$CURRENT_DIR
/
$LLVM_SRC
/tools/hpvm
]
;
then
if
[
!
-d
$HPVM_DIR
]
;
then
mkdir
$CURRENT_DIR
/
$LLVM_SRC
/tools/hpvm
echo
Adding HPVM sources to tree
mkdir
-p
$HPVM_DIR
ln
-s
$CURRENT_DIR
/CMakeLists.txt
$HPVM_DIR
ln
-s
$CURRENT_DIR
/include
$HPVM_DIR
/
ln
-s
$CURRENT_DIR
/lib
$HPVM_DIR
/
ln
-s
$CURRENT_DIR
/projects
$HPVM_DIR
/
ln
-s
$CURRENT_DIR
/test
$HPVM_DIR
/
else
else
echo
$CURRENT_DIR
/
$LLVM_SRC
/tools/hpvm exists.
echo
$CURRENT_DIR
/
$LLVM_SRC
/tools/hpvm exists.
fi
fi
HPVM_DIR
=
$CURRENT_DIR
/
$LLVM_SRC
/tools/hpvm
mkdir
-p
$HPVM_DIR
ln
-s
$CURRENT_DIR
/CMakeLists.txt
$HPVM_DIR
ln
-s
$CURRENT_DIR
/include
$HPVM_DIR
/
ln
-s
$CURRENT_DIR
/lib
$HPVM_DIR
/
ln
-s
$CURRENT_DIR
/projects
$HPVM_DIR
/
ln
-s
$CURRENT_DIR
/test
$HPVM_DIR
/
ls
$HPVM_DIR
export
LLVM_SRC_ROOT
=
$CURRENT_DIR
/
$LLVM_SRC
export
LLVM_SRC_ROOT
=
$CURRENT_DIR
/
$LLVM_SRC
echo
${
LLVM_SRC_ROOT
}
echo
Applying HPVM patches
echo
Applying HPVM patches
cd
$CURRENT_DIR
/llvm_patches
cd
$CURRENT_DIR
/llvm_patches
...
@@ -178,10 +179,10 @@ echo make -j$NUM_THREADS
...
@@ -178,10 +179,10 @@ echo make -j$NUM_THREADS
make
-j
$NUM_THREADS
make
-j
$NUM_THREADS
#make install
#make install
echo
Building HPVM runtime
#
echo Building HPVM runtime
HPVM_RT_DIR
=
$HPVM_DIR
/projects/visc-rt
#
HPVM_RT_DIR=$HPVM_DIR/projects/visc-rt
cd
$HPVM_RT_DIR
#
cd $HPVM_RT_DIR
make
#
make
#cp -r $CURRENT_DIR/projects $HPVM_DIR/
#cp -r $CURRENT_DIR/projects $HPVM_DIR/
#make -j$NUM_THREADS
#make -j$NUM_THREADS
...
...
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