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
c3a28290
Commit
c3a28290
authored
Jan 29, 2020
by
Akash Kothari
Browse files
Do not download libcxx and libcxxabi
parent
bd7dbbea
Changes
1
Hide whitespace changes
Inline
Side-by-side
hpvm/scripts/llvm_installer.sh
View file @
c3a28290
...
...
@@ -16,8 +16,6 @@ NUM_THREADS=2
SUFFIX
=
".tar.xz"
CLANG_SRC
=
"cfe-
$VERSION
.src"
LLVM_SRC
=
"llvm-
$VERSION
.src"
LIBCXX_SRC
=
"libcxx-
$VERSION
.src"
LIBCXXABI_SRC
=
"libcxxabi-
$VERSION
.src"
HPVM_RT
=
hpvm-rt/hpvm-rt.bc
...
...
@@ -96,38 +94,6 @@ else
exit
1
fi
if
[
-d
libcxx
]
;
then
echo
Found libcxx! Not downloading libcxx again.
else
$WGET
$URL
/
$VERSION
/
$LIBCXX_SRC$SUFFIX
tar
xf
$LIBCXX_SRC$SUFFIX
rm
$LIBCXX_SRC$SUFFIX
mv
$LIBCXX_SRC
libcxx
if
[
-d
libcxx
]
;
then
echo
Everything looks sane.
else
echo
Install had problems. Quitting.
exit
fi
fi
if
[
$LIBCXXABI_SRC
!=
""
]
;
then
if
[
-d
libcxxabi
]
;
then
echo
Found libcxxabi! Not downloading libcxx again.
else
$WGET
$URL
/
$VERSION
/
$LIBCXXABI_SRC$SUFFIX
tar
xf
$LIBCXXABI_SRC$SUFFIX
rm
$LIBCXXABI_SRC$SUFFIX
mv
$LIBCXXABI_SRC
libcxxabi
if
[
-d
libcxxabi
]
;
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
...
...
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