forked from torch/ezinstall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-all
executable file
·21 lines (19 loc) · 807 Bytes
/
install-all
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash
######################################################################
# Complete install:
# Install all dependencies for Torch7, then Torch7 itself.
######################################################################
# Install dependencies
curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-deps | bash
RET=$?; if [ $RET -ne 0 ]; then
echo " "
echo " "
echo "---------------------------------------------------"
echo "WARNING: One of the dependencies failed to install.";
echo "---------------------------------------------------"
echo " "
echo " "
fi
# Install torch
curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-luajit+torch | bash
RET=$?; if [ $RET -ne 0 ]; then echo "Error. Exiting."; exit $RET; fi