diff options
| author | yangwei <[email protected]> | 2023-08-22 00:00:44 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2023-08-22 00:21:58 +0800 |
| commit | 5364913818e8ad02b863d34102442202fb56c7b5 (patch) | |
| tree | 65cbdd6926c236187eff7f3497afcf96930c31fb /module_test/src | |
| parent | dfe35c09413a0ada869d68f839b63e1eccf04d4e (diff) | |
✨ feat(signal handle): SIGUSR1触发jemallc的arena.purge
Diffstat (limited to 'module_test/src')
| -rw-r--r-- | module_test/src/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module_test/src/CMakeLists.txt b/module_test/src/CMakeLists.txt index 745a27c..7c6d82d 100644 --- a/module_test/src/CMakeLists.txt +++ b/module_test/src/CMakeLists.txt @@ -18,6 +18,9 @@ add_executable(gtest_sapp_v4 gtest_main.cpp gtest_sapp_ipv4.cpp gtest_sapp_ipv6. ../test_case/auto_gen_test_functions.cpp ../test_case/test_function_common.cpp) target_link_libraries(gtest_sapp_v4 gtest-static pthread pcap m dl MESA_jump_layer MESA_field_stat2 fieldstat3 MESA_htable MESA_handle_logger MESA_prof_load breakpad_mini systemd sapp_benchmark sapp_devel) +if(MEM_POOL STREQUAL "JEMALLOC_STATIC") + target_link_libraries(gtest_sapp_v4 libjemalloc-static) +endif() add_executable(transparent_test_sapp_v4 gtest_transparent_env.cpp gtest_sapp_comm.cpp) target_link_libraries(transparent_test_sapp_v4 pthread pcap m dl MESA_jump_layer MESA_handle_logger) |
