Skip to content

Commit

Permalink
Refs #10469 Update gperftools includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosswhitfield committed Nov 4, 2014
1 parent 0b966e4 commit 22e4f95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Code/Mantid/Build/CMake/FindTcmalloc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# TCMALLOC_FOUND If false, do not try to use TCMALLOC

find_path ( TCMALLOC_INCLUDE_DIR tcmalloc.h
PATHS /usr/include/google
PATHS /usr/include/gperftools
)

find_library ( TCMALLOC_LIB NAMES tcmalloc tcmalloc_minimal )
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/API/src/MemoryManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "MantidKernel/Memory.h"

#ifdef USE_TCMALLOC
#include "google/malloc_extension.h"
#include "gperftools/malloc_extension.h"
#endif

#include <ostream> //for endl
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/Kernel/src/Memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <sstream>

#ifdef USE_TCMALLOC
#include "google/malloc_extension.h"
#include "gperftools/malloc_extension.h"
#endif

#ifdef __linux__
Expand Down

0 comments on commit 22e4f95

Please sign in to comment.