diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-03-26 15:21:55 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-03-26 15:21:55 +0300 |
commit | d364211d9088667ddb98136e0c9a29b913c31717 (patch) | |
tree | 9d6685d510a063f8e153ef096d78823bedc49250 /moses | |
parent | 1064aaacbe4e7dd0571f35ef0eba3a2efc212859 (diff) |
More bjam fiddling.
Diffstat (limited to 'moses')
-rw-r--r-- | moses/Jamfile | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/moses/Jamfile b/moses/Jamfile index 822645505..c94750ec6 100644 --- a/moses/Jamfile +++ b/moses/Jamfile @@ -1,3 +1,4 @@ +# -*- jam -*- max-factors = [ option.get "max-factors" : 4 : 4 ] ; path-constant FACTOR-LOG : bin/factor.log ; update-if-changed $(FACTOR-LOG) $(max-factors) ; @@ -58,23 +59,16 @@ obj FF_Factory.o : FF/Factory.cpp LM//macros headers ../lm//kenlm mmlib : <depen # if yes, include server capabilities in the moses executable # include $(TOP)/jam-files/server.jam ; -xmlrpc-c-config = [ build_server ] ; -if $(xmlrpc-c-config) = no +if [ xmlrpc ] { - echo "NOT BUILDING MOSES SERVER!" ; - alias mserver ; - alias xmlrpc-linkflags ; + echo "BUILDING MOSES SERVER!" ; + alias mserver : [ glob server/*.cpp ] ; } else { - xmlprc-version = [ shell_or_die "$(xmlrpc-c-config) --version" ] ; - # xmlprc-linkflags = [ shell_or_die "$(xmlrpc-c-config) --version" ] ; - echo "building moses server with xmlrpc-c version $(xmlrpc-c-version)" ; - alias mserver : [ glob server/*.cpp ] ; -} - - - + echo "NOT BUILDING MOSES SERVER!" ; + alias mserver ; +} if [ option.get "with-mm" : no : yes ] = yes { |