Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lm
diff options
context:
space:
mode:
Diffstat (limited to 'lm')
-rw-r--r--lm/Jamfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lm/Jamfile b/lm/Jamfile
index c537d93d4..ef45a6a50 100644
--- a/lm/Jamfile
+++ b/lm/Jamfile
@@ -8,7 +8,10 @@ if ( $(max-order) != 6 ) {
}
max-order = <define>KENLM_MAX_ORDER=$(max-order) ;
-lib kenlm : bhiksha.cc binary_format.cc config.cc lm_exception.cc model.cc quantize.cc read_arpa.cc search_hashed.cc search_trie.cc trie.cc trie_sort.cc value_build.cc virtual_interface.cc vocab.cc ../util//kenutil : <include>.. $(max-order) : : <include>.. <library>../util//kenutil $(max-order) ;
+path-constant ORDER-LOG : bin/order.log ;
+update-if-changed $(ORDER-LOG) $(max-order) ;
+
+lib kenlm : bhiksha.cc binary_format.cc config.cc lm_exception.cc model.cc quantize.cc read_arpa.cc search_hashed.cc search_trie.cc trie.cc trie_sort.cc value_build.cc virtual_interface.cc vocab.cc ../util//kenutil : <include>.. $(max-order) : : <include>.. <library>../util//kenutil $(max-order) <dependency>$(ORDER-LOG) ;
import testing ;