Skip to content

Commit

Permalink
Add Moses dependency
Browse files Browse the repository at this point in the history
The distro is missing the Moses package, and the included version of luarocks is unable to download it, so installation fails. This patch fixes the issue by adding a submodule for moses and installing it before nn.
  • Loading branch information
camillol committed Jan 22, 2018
1 parent 20e5237 commit 4571847
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,6 @@
[submodule "extra/lua-cjson"]
path = extra/lua-cjson
url = https://github.com/mpx/lua-cjson
[submodule "extra/moses"]
path = extra/moses
url = https://github.com/Yonaba/Moses.git
1 change: 1 addition & 0 deletions extra/moses
Submodule moses added at ded0a9
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ cd ${THIS_DIR}/pkg/dok && $PREFIX/bin/luarocks make rocks/dok-scm-1.rocksp
cd ${THIS_DIR}/exe/trepl && $PREFIX/bin/luarocks make trepl-scm-1.rockspec || exit 1
cd ${THIS_DIR}/pkg/sys && $PREFIX/bin/luarocks make sys-1.1-0.rockspec || exit 1
cd ${THIS_DIR}/pkg/xlua && $PREFIX/bin/luarocks make xlua-1.0-0.rockspec || exit 1
cd ${THIS_DIR}/extra/moses && $PREFIX/bin/luarocks make rockspec/moses-1.6.1-1.rockspec || exit 1
cd ${THIS_DIR}/extra/nn && $PREFIX/bin/luarocks make rocks/nn-scm-1.rockspec || exit 1
cd ${THIS_DIR}/extra/graph && $PREFIX/bin/luarocks make rocks/graph-scm-1.rockspec || exit 1
cd ${THIS_DIR}/extra/nngraph && $PREFIX/bin/luarocks make nngraph-scm-1.rockspec || exit 1
Expand Down

0 comments on commit 4571847

Please sign in to comment.