Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: cleanup Findgperftools.cmake #10670

Merged
merged 3 commits into from
Aug 11, 2016
Merged

cmake: cleanup Findgperftools.cmake #10670

merged 3 commits into from
Aug 11, 2016

Commits on Aug 11, 2016

  1. cmake: cleanup Findgperftools.cmake

    * remove Findtcmalloc.cmake, use Findgperftools.cmake instead.
    * tcmalloc is packaged in gperftools-dev, so we can check them in a single
      place.
    * fix the check of heap-profiler.h, we should enable the check as long
      as tcmalloc is enabled or profiler is enabled.
    * only check gperftools headers in "include/gperftools", and do not
      "include/google" anymore. as we only support the distros which
      shipping recent gperftools-dev package with "include/gperftools".
      and "google/*.h" are deprecated.
    * set ALLOC_LIBS with GPERFTOOLS_TCMALLOC_LIBRARY, so we can link
      against tcmalloc with full path.
    
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed Aug 11, 2016
    Configuration menu
    Copy the full SHA
    6c12edb View commit details
    Browse the repository at this point in the history
  2. cmake: cleanup Findleveldb.cmake

    * and reference leveldb library and include dir with fullpath
    
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed Aug 11, 2016
    Configuration menu
    Copy the full SHA
    96fdb69 View commit details
    Browse the repository at this point in the history
  3. cmake: cleanup Findxio.cmake

    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed Aug 11, 2016
    Configuration menu
    Copy the full SHA
    5d9debd View commit details
    Browse the repository at this point in the history