diff options
author | Camillo Lugaresi <camillol@google.com> | 2018-01-22 05:31:31 +0300 |
---|---|---|
committer | Camillo Lugaresi <camillol@google.com> | 2018-01-22 05:31:31 +0300 |
commit | 4571847cbf749e9caff6c6f1ad3cd6777b04d4e7 (patch) | |
tree | 174902412cb39a3d0cf49baec26e9a6b394dd4ef | |
parent | 20e523771377568841e9d11bc3275a4404edcd1e (diff) |
Add Moses dependency
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.
-rw-r--r-- | .gitmodules | 3 | ||||
m--------- | extra/moses | 0 | ||||
-rwxr-xr-x | install.sh | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index 33f2763..e0b8950 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/extra/moses b/extra/moses new file mode 160000 +Subproject ded0a9b773bb78ded2c1dd5da721bbee4a3e32c @@ -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 |