diff options
author | Kenneth Heafield <github@kheafield.com> | 2011-11-18 18:37:01 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2011-11-18 18:37:01 +0400 |
commit | 5c9b28c55abc3ecf45fc07481f93151c58df2520 (patch) | |
tree | be7715b60136c38fe6945e9bf5098620510bc375 /lm | |
parent | 380b6c71971c308ba06cacbb9f3add6ba26e9d4c (diff) |
Introducing Jamfiles
Currently supports kenlm, irstlm, and srilm options.
bjam [--with-srilm=/path/to/sri] [--with-irstlm=/path/to/irst] -j8
Places binaries in dist/ that pass regression tests.
Diffstat (limited to 'lm')
-rw-r--r-- | lm/Jamfile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lm/Jamfile b/lm/Jamfile new file mode 100644 index 000000000..bfec3a4c6 --- /dev/null +++ b/lm/Jamfile @@ -0,0 +1,10 @@ +lib lm : 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 virtual_interface.cc vocab.cc ../util//util : <include>.. : : <include>.. ; + +import testing ; +lib boost_unit_test_framework : : <link>shared : : <link>shared:<define>BOOST_TEST_DYN_LINK ; + +run left_test.cc lm boost_unit_test_framework : : test.arpa ; +run model_test.cc lm boost_unit_test_framework : : test.arpa test_nounk.arpa ; + +exe query : ngram_query.cc lm ; +exe build_binary : build_binary.cc lm ; |