Skip to content

Commit

Permalink
Added Lua-GD compilation and installation to install_dependencies.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
neurocsut-gpu authored and kuz committed Aug 15, 2015
1 parent c536020 commit 8466031
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,16 @@ $PREFIX/bin/luarocks make
RET=$?; if [ $RET -ne 0 ]; then echo "Error. Exiting."; exit $RET; fi
echo "Alewrap installation completed"

echo "Installing Lua-GD ... "
cd $PREFIX/src
rm -rf lua-gd
git clone https://github.com/ittner/lua-gd.git
cd lua-gd
sed -i "s/LUABIN=lua5.1/LUABIN=..\/..\/bin\/luajit/" Makefile
$PREFIX/bin/luarocks make
RET=$?; if [ $RET -ne 0 ]; then echo "Error. Exiting."; exit $RET; fi
echo "Lua-GD installation completed"

echo
echo "You can run experiments by executing: "
echo
Expand Down

0 comments on commit 8466031

Please sign in to comment.