diff --git a/BUILD-INSTRUCTIONS.txt b/BUILD-INSTRUCTIONS.txt index 0ddd16070..d3b3e4330 100644 --- a/BUILD-INSTRUCTIONS.txt +++ b/BUILD-INSTRUCTIONS.txt @@ -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 diff --git a/Jamroot b/Jamroot index 62d940905..b6108baf9 100644 --- a/Jamroot +++ b/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 += multi:tcmalloc ; +if ! [ option.get "without-tcmalloc" : : "yes" ] && [ test_library "tcmalloc_minimal" ] { + external-lib tcmalloc_minimal ; + requirements += multi:tcmalloc_minimal ; } if [ option.get "enable-mpi" : : "yes" ] {