]> git.pld-linux.org Git - packages/ceph.git/blob - ceph-tcmalloc.patch
- fix awk shebang, rel 2
[packages/ceph.git] / ceph-tcmalloc.patch
1 --- ceph-12.2.13/cmake/modules/Findgperftools.cmake.orig        2020-01-30 21:52:36.000000000 +0100
2 +++ ceph-12.2.13/cmake/modules/Findgperftools.cmake     2020-05-28 17:05:49.948032294 +0200
3 @@ -11,13 +11,13 @@
4  find_path(GPERFTOOLS_INCLUDE_DIR gperftools/profiler.h)
5  find_path(Tcmalloc_INCLUDE_DIR gperftools/tcmalloc.h)
6  
7 -foreach(component tcmalloc tcmalloc_minimal profiler)
8 +foreach(component tcmalloc tcmalloc_minimal)
9    string(TOUPPER ${component} COMPONENT)
10    find_library(GPERFTOOLS_${COMPONENT}_LIBRARY ${component})
11    list(APPEND GPERFTOOLS_LIBRARIES GPERFTOOLS_${COMPONENT}_LIBRARY)
12  endforeach()
13  
14  include(FindPackageHandleStandardArgs)
15 -find_package_handle_standard_args(gperftools DEFAULT_MSG GPERFTOOLS_LIBRARIES GPERFTOOLS_INCLUDE_DIR)
16 +find_package_handle_standard_args(gperftools DEFAULT_MSG GPERFTOOLS_LIBRARIES Tcmalloc_INCLUDE_DIR)
17  
18 -mark_as_advanced(GPERFTOOLS_LIBRARIES GPERFTOOLS_INCLUDE_DIR)
19 +mark_as_advanced(GPERFTOOLS_LIBRARIES GPERFTOOLS_INCLUDE_DIR Tcmalloc_INCLUDE_DIR)
This page took 0.027892 seconds and 3 git commands to generate.