diff options
author | Patrick Simianer <p@simianer.de> | 2015-03-06 18:10:31 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-03-06 18:10:31 +0100 |
commit | e838ea12018c31b8ac0437c9a740c54430276952 (patch) | |
tree | 0205017e59a27d6ba519638dde95413721ffd80f | |
parent | a7835bdcffb7bdb4ad7ee3dac56c69f46c24b363 (diff) |
toy example for sending/receiving with nanomsg
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | decoder/Makefile.am | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -52,6 +52,8 @@ decoder/small_vector_test decoder/t2s_test decoder/trule_test decoder/weights_test +decoder/network_decoder +decoder/local depcomp dist dpmert/Makefile diff --git a/decoder/Makefile.am b/decoder/Makefile.am index e313f1f9..563ca0b9 100644 --- a/decoder/Makefile.am +++ b/decoder/Makefile.am @@ -1,4 +1,4 @@ -bin_PROGRAMS = cdec minimal_decoder +bin_PROGRAMS = cdec minimal_decoder network_decoder local noinst_PROGRAMS = \ trule_test \ @@ -26,6 +26,12 @@ cdec_LDADD = libcdec.a ../mteval/libmteval.a ../utils/libutils.a ../klm/search/l minimal_decoder_SOURCES = minimal_decoder.cc minimal_decoder_LDADD = libcdec.a ../utils/libutils.a +network_decoder_SOURCES = network_decoder.cc nn.hpp +network_decoder_LDADD = libcdec.a ../klm/search/libksearch.a ../mteval/libmteval.a ../utils/libutils.a ../klm/lm/libklm.a ../klm/util/libklm_util.a ../klm/util/double-conversion/libklm_util_double.a /usr/lib64/libnanomsg.so + +local_SOURCES = local.cc nn.hpp +local_LDADD = /usr/lib64/libnanomsg.so + AM_CPPFLAGS = -DTEST_DATA=\"$(top_srcdir)/decoder/test_data\" -DBOOST_TEST_DYN_LINK -W -Wno-sign-compare -I$(top_srcdir) -I$(top_srcdir)/mteval -I$(top_srcdir)/utils -I$(top_srcdir)/klm rule_lexer.cc: rule_lexer.ll |