feat add tcmalloc_and_profiler_static for sled
Some checks failed
linux-arm-gcc / linux-gcc-armhf (push) Failing after 2m18s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 2m26s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Failing after 2m39s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 2m43s
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 2m46s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 3m21s

This commit is contained in:
tqcq 2024-04-29 15:20:02 +08:00
parent 0172471b64
commit 4a1d1c9aa1
2 changed files with 469 additions and 425 deletions

File diff suppressed because it is too large Load Diff

View File

@ -32,7 +32,7 @@ target_include_directories(benchmark_main PUBLIC src/)
add_library(sled STATIC "")
add_subdirectory(3party/minilua EXCLUDE_FROM_ALL)
# add_subdirectory(3party/gperftools EXCLUDE_FROM_ALL)
add_subdirectory(3party/gperftools EXCLUDE_FROM_ALL)
add_subdirectory(3party/asyncplusplus EXCLUDE_FROM_ALL)
# add_subdirectory(3party/cppuprofile EXCLUDE_FROM_ALL)
if(SLED_WITH_PROTOBUF)
@ -104,7 +104,7 @@ target_sources(
target_link_libraries(
sled
PUBLIC rpc_core fmt marl Async++ minilua
PUBLIC rpc_core fmt marl Async++ minilua tcmalloc_and_profiler_static
# protobuf::libprotoc
PRIVATE dl)
if(SLED_WITH_PROTOBUF)