feat add tcmalloc
Some checks failed
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Successful in 1m51s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 1m50s
linux-arm-gcc / linux-gcc-armhf (push) Successful in 1m53s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m11s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 2m8s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 2m54s

This commit is contained in:
tqcq 2024-04-30 18:08:41 +08:00
parent af261ab82e
commit 43c7e9f392

View File

@ -110,7 +110,7 @@ target_link_libraries(
# protobuf::libprotoc
PRIVATE dl)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_link_libraries(sled PUBLIC profiler_static)
target_link_libraries(sled PUBLIC tcmalloc_and_profiler_static)
endif()
if(SLED_WITH_PROTOBUF)