diff options
author | Nyx (Neal Orman) <nyx@lindenlab.com> | 2010-09-23 14:59:03 -0400 |
---|---|---|
committer | Nyx (Neal Orman) <nyx@lindenlab.com> | 2010-09-23 14:59:03 -0400 |
commit | 7f9285979d744ee3591f810928e2ab570baba90e (patch) | |
tree | 2e5a63748f124eff3d3139cf8db327da8db69bc7 /indra/cmake | |
parent | bc488500962f75ac6d5dcdac4db4f2d7f293bf89 (diff) |
WIP make tcmalloc work on linux (JIRA pending)
First pass at integrating the linux version of tcmalloc.
Code will be reviewed in a later commit before pushing.
Diffstat (limited to 'indra/cmake')
-rwxr-xr-x | indra/cmake/Copy3rdPartyLibs.cmake | 2 | ||||
-rwxr-xr-x | indra/cmake/GooglePerfTools.cmake | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/indra/cmake/Copy3rdPartyLibs.cmake b/indra/cmake/Copy3rdPartyLibs.cmake index 9900a8fb45..915f9c183f 100755 --- a/indra/cmake/Copy3rdPartyLibs.cmake +++ b/indra/cmake/Copy3rdPartyLibs.cmake @@ -235,7 +235,7 @@ elseif(LINUX) libopenjpeg.so libssl.so libstacktrace.so - libtcmalloc.so + libtcmalloc_minimal.so libuuid.so.1 libssl.so.0.9.7 ) diff --git a/indra/cmake/GooglePerfTools.cmake b/indra/cmake/GooglePerfTools.cmake index dc6d013bf2..5581b3b0e3 100755 --- a/indra/cmake/GooglePerfTools.cmake +++ b/indra/cmake/GooglePerfTools.cmake @@ -13,7 +13,10 @@ else (STANDALONE) set(GOOGLE_PERFTOOLS_FOUND "YES") endif (WINDOWS) if (LINUX) - set(TCMALLOC_LIBRARIES tcmalloc) + use_prebuilt_binary(tcmalloc) + set(TCMALLOC_LIBRARIES + debug libtcmalloc_minimal_debug + optimized libtcmalloc_minimal) set(STACKTRACE_LIBRARIES stacktrace) set(PROFILER_LIBRARIES profiler) set(GOOGLE_PERFTOOLS_INCLUDE_DIR |