You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@joshua.apache.org by mj...@apache.org on 2016/03/30 02:58:54 UTC
incubator-joshua git commit: added JOSHUA env to kenlm build
invocation
Repository: incubator-joshua
Updated Branches:
refs/heads/master c9f578530 -> 0990ebc07
added JOSHUA env to kenlm build invocation
Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/0990ebc0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/0990ebc0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/0990ebc0
Branch: refs/heads/master
Commit: 0990ebc07f44073156c1c7923fee7ebaaf7677f5
Parents: c9f5785
Author: Matt Post <po...@cs.jhu.edu>
Authored: Tue Mar 29 20:58:47 2016 -0400
Committer: Matt Post <po...@cs.jhu.edu>
Committed: Tue Mar 29 20:58:47 2016 -0400
----------------------------------------------------------------------
build.xml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/0990ebc0/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index ffef0f8..6456721 100644
--- a/build.xml
+++ b/build.xml
@@ -63,7 +63,10 @@
</target>
<target name="kenlm" depends="check-joshua-home" description="--> Build KenLM">
- <exec executable="./build_kenlm.sh" dir="${JOSHUA}/jni" />
+ <exec dir="${JOSHUA}/jni" executable="/bin/bash">
+ <env key="JOSHUA" path="${JOSHUA}" />
+ <arg line="build_kenlm.sh" />
+ </exec>
</target>
<target name="giza" depends="check-joshua-home" description="--> 'Make' the giza software in scripts/training/giza-pp/">