Skip to content
Snippets Groups Projects
Commit 9af99602 authored by Adel Ejjeh's avatar Adel Ejjeh
Browse files

modified user input in llvm installer script

parent 1a0a6583
No related branches found
No related tags found
No related merge requests found
......@@ -21,10 +21,15 @@ LIBCXXABI_SRC="libcxxabi-$VERSION.src"
AUTOMATE="y"
read -n 1 -p "Build and install HPVM automatically? (y or n): " AUTOMATE
read -p "Build and install HPVM automatically? (y or n): " AUTOMATE
if [ ! $AUTOMATE == "y" ] && [ ! $AUTOMATE == "n" ]; then
echo invalid input!
exit -1
fi
echo
read -n 2 -p "Number of threads: " NUM_THREADS
read -p "Number of threads: " NUM_THREADS
if [ ! $NUM_THREADS -gt 0 ]; then
NUM_THREADS = 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment