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. Link tcmalloc at non-standard location (Douwe H Gelling)
2. Re: Link tcmalloc at non-standard location (Kenneth Heafield)
----------------------------------------------------------------------
Message: 1
Date: Fri, 9 May 2014 18:21:42 +0100
From: Douwe H Gelling <d.gelling@sheffield.ac.uk>
Subject: [Moses-support] Link tcmalloc at non-standard location
To: moses-support@mit.edu
Message-ID:
<CAPM_nBw9cS_BciJC7PF+MOMOBTCTtTAsZZwH5NgRn3iX1e3EUg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi,
I'm trying to build moses with tcmalloc support, and have had to compile
tcmalloc in a separate location for this as the OS version doesn't include
static libraries.
I've found that bjam doesn't allow you to specify a non-standard location
however, and was wondering how I could add my library location to those
used by bjam (such that the script includes is when testing for tcmalloc).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20140509/f1e62c3f/attachment-0001.htm
------------------------------
Message: 2
Date: Fri, 09 May 2014 10:44:21 -0700
From: Kenneth Heafield <moses@kheafield.com>
Subject: Re: [Moses-support] Link tcmalloc at non-standard location
To: moses-support@mit.edu
Message-ID: <536D13F5.8040402@kheafield.com>
Content-Type: text/plain; charset=ISO-8859-1
Option 1:
export LIBRARY_PATH=/path/where/you/installed/it
So that
ls $LIBRARY_PATH/libtcmalloc_minimal.a succeeds.
Option 2:
export LDFLAGS=-L/path/where/you/installed/it
On 05/09/14 10:21, Douwe H Gelling wrote:
> Hi,
>
> I'm trying to build moses with tcmalloc support, and have had to compile
> tcmalloc in a separate location for this as the OS version doesn't
> include static libraries.
>
> I've found that bjam doesn't allow you to specify a non-standard
> location however, and was wondering how I could add my library location
> to those used by bjam (such that the script includes is when testing for
> tcmalloc).
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
------------------------------
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
End of Moses-support Digest, Vol 91, Issue 14
*********************************************
Subscribe to:
Post Comments (Atom)
0 Response to "Moses-support Digest, Vol 91, Issue 14"
Post a Comment