Moses-support Digest, Vol 121, Issue 30

Send Moses-support mailing list submissions to
moses-support@mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu

You can reach the person managing the list at
moses-support-owner@mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."


Today's Topics:

1. How to compile just one binary (Lane Schwartz)


----------------------------------------------------------------------

Message: 1
Date: Mon, 14 Nov 2016 13:31:13 -0600
From: Lane Schwartz <dowobeha@gmail.com>
Subject: [Moses-support] How to compile just one binary
To: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<CABv3vZ=j7wz=Hgcmo84D0XgUg+kiTrzr5X_BoogCvdyFymOr3A@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

This may already be well-known to some, but it was news to me, and it was
very useful, so I'm posting for posterity. It is possible to compile just a
single moses binary by adding the name of that binary to the end of the
bjam command. This is very useful when debugging, etc, as only the command
of interest need be recompiled, which saves time.

For example, to compile just mosesserver:

/usr/bin/bjam debug-symbols=on -j8 --with-xmlrpc-c=/usr --with-cmph=/usr
> --toolset=gcc --with-giza=/opt/moses/external/bin --with-tcmalloc=/usr
> --with-mm mosesserver


Cheers,
Lane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20161114/e26c5059/attachment-0001.html

------------------------------

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


End of Moses-support Digest, Vol 121, Issue 30
**********************************************

0 Response to "Moses-support Digest, Vol 121, Issue 30"

Post a Comment