diff --git a/platform/CMakeLists.txt b/platform/CMakeLists.txt index f625bad..cd9f472 100644 --- a/platform/CMakeLists.txt +++ b/platform/CMakeLists.txt @@ -23,7 +23,6 @@ target_link_libraries(tfe pthread dl hiredis-static MESA_htable wiredcfg MESA_field_stat - gperftools-static breakpad_mini ${SYSTEMD_LIBRARIES}) diff --git a/vendor/CMakeLists.txt b/vendor/CMakeLists.txt index 4923d2b..350c382 100644 --- a/vendor/CMakeLists.txt +++ b/vendor/CMakeLists.txt @@ -336,18 +336,18 @@ set_property(TARGET brotlienc-static PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${IN target_link_libraries(brotlienc-static INTERFACE brotlicommon-static) ### gperftools -ExternalProject_Add(gperftools - PREFIX gperftools - URL ${CMAKE_CURRENT_SOURCE_DIR}/gperftools-2.8.tar.gz - URL_MD5 ea61ad1e886f53e4069873ce52cae7df - PATCH_COMMAND patch -p1 < ${CMAKE_CURRENT_LIST_DIR}/patch/gperftools-fix_too_small_heap_profile_buffer_size.patch - CONFIGURE_COMMAND ./configure --prefix= --disable-shared - BUILD_IN_SOURCE 1) +#ExternalProject_Add(gperftools +# PREFIX gperftools +# URL ${CMAKE_CURRENT_SOURCE_DIR}/gperftools-2.8.tar.gz +# URL_MD5 ea61ad1e886f53e4069873ce52cae7df +# PATCH_COMMAND patch -p1 < ${CMAKE_CURRENT_LIST_DIR}/patch/gperftools-fix_too_small_heap_profile_buffer_size.patch +# CONFIGURE_COMMAND ./configure --prefix= --disable-shared +# BUILD_IN_SOURCE 1) -ExternalProject_Get_Property(gperftools INSTALL_DIR) -file(MAKE_DIRECTORY ${INSTALL_DIR}/include) +#ExternalProject_Get_Property(gperftools INSTALL_DIR) +#file(MAKE_DIRECTORY ${INSTALL_DIR}/include) -add_library(gperftools-static STATIC IMPORTED GLOBAL) -add_dependencies(gperftools-static gperftools) -set_property(TARGET gperftools-static PROPERTY IMPORTED_LOCATION ${INSTALL_DIR}/lib/libtcmalloc.a) -set_property(TARGET gperftools-static PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${INSTALL_DIR}/include) \ No newline at end of file +#add_library(gperftools-static STATIC IMPORTED GLOBAL) +#add_dependencies(gperftools-static gperftools) +#set_property(TARGET gperftools-static PROPERTY IMPORTED_LOCATION ${INSTALL_DIR}/lib/libtcmalloc.a) +#set_property(TARGET gperftools-static PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${INSTALL_DIR}/include) \ No newline at end of file