mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-08-17 07:20:48 +03:00
Use tcmalloc_minimal and tell people how to build it
This commit is contained in:
parent
be7e78c6bf
commit
030e2d40b2
@ -69,7 +69,10 @@ Add all the above code to your .bashrc or .bash_login as appropriate. Then
|
||||
you're ready to install packages in non-standard paths:
|
||||
|
||||
#For autotools packages e.g. xmlrpc-c
|
||||
./configure --prefix=$PREFIX --libdir=$PREFIX/lib64 [other options here]
|
||||
./configure --prefix=$PREFIX --libdir=$LIBDIR [other options here]
|
||||
|
||||
#For tcmalloc (we only need the minimal version)
|
||||
./configure --prefix=$PREFIX --libdir=$LIBDIR --enable-shared --enable-static --enable-minimal
|
||||
|
||||
#For Boost:
|
||||
./bootstrap.sh
|
||||
|
6
Jamroot
6
Jamroot
@ -75,9 +75,9 @@ include $(TOP)/jam-files/sanity.jam ;
|
||||
boost 103600 ;
|
||||
external-lib z ;
|
||||
|
||||
if ! [ option.get "without-tcmalloc" : : "yes" ] && [ test_library "tcmalloc" ] {
|
||||
external-lib tcmalloc ;
|
||||
requirements += <threading>multi:<library>tcmalloc ;
|
||||
if ! [ option.get "without-tcmalloc" : : "yes" ] && [ test_library "tcmalloc_minimal" ] {
|
||||
external-lib tcmalloc_minimal ;
|
||||
requirements += <threading>multi:<library>tcmalloc_minimal ;
|
||||
}
|
||||
|
||||
if [ option.get "enable-mpi" : : "yes" ] {
|
||||
|
Loading…
Reference in New Issue
Block a user