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 /util/Jamfile | |
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 'util/Jamfile')
-rw-r--r-- | util/Jamfile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/util/Jamfile b/util/Jamfile new file mode 100644 index 000000000..b69883781 --- /dev/null +++ b/util/Jamfile @@ -0,0 +1,13 @@ +lib z ; + +lib util : bit_packing.cc ersatz_progress.cc exception.cc file.cc file_piece.cc mmap.cc murmur_hash.cc z : <include>.. : : <include>.. ; + +import testing ; +lib boost_unit_test_framework : : <link>shared : : <link>shared:<define>BOOST_TEST_DYN_LINK ; + +unit-test bit_packing_test : bit_packing_test.cc util boost_unit_test_framework ; +run file_piece_test.cc util boost_unit_test_framework : : file_piece.cc ; +unit-test joint_sort_test : joint_sort_test.cc util boost_unit_test_framework ; +unit-test probing_hash_table_test : probing_hash_table_test.cc util boost_unit_test_framework ; +unit-test sorted_uniform_test : sorted_uniform_test.cc util boost_unit_test_framework ; +unit-test tokenize_piece_test : tokenize_piece_test.cc util boost_unit_test_framework ; |