diff options
| author | root <[email protected]> | 2024-04-18 01:44:18 +0000 |
|---|---|---|
| committer | root <[email protected]> | 2024-04-18 01:44:18 +0000 |
| commit | 40ee1485b279d4d1176331bbd20aea151bef451a (patch) | |
| tree | 0debb2924a75963b252c3781fd750e4eff375ae1 | |
| parent | 5bbf139b7813de744a325bcc1e660a343fe86547 (diff) | |
add jemalloc
| -rw-r--r-- | shaping/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | vendor/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shaping/CMakeLists.txt b/shaping/CMakeLists.txt index da34504..a8a0174 100644 --- a/shaping/CMakeLists.txt +++ b/shaping/CMakeLists.txt @@ -12,8 +12,8 @@ add_executable(shaping_engine src/main.cpp) target_link_libraries(shaping_engine PUBLIC shaper) target_link_libraries(shaping_engine PUBLIC maatframe) target_link_libraries(shaping_engine PUBLIC mrzcpd) +target_link_libraries(shaping_engine PUBLIC libjemalloc-static unwind dl) target_link_libraries(shaping_engine PUBLIC swarmkv) -target_link_libraries(shaping_engine PUBLIC libjemalloc-static dl) install(TARGETS shaping_engine RUNTIME DESTINATION bin COMPONENT Program) diff --git a/vendor/CMakeLists.txt b/vendor/CMakeLists.txt index 35bc47f..363743a 100644 --- a/vendor/CMakeLists.txt +++ b/vendor/CMakeLists.txt @@ -39,7 +39,7 @@ set_property(TARGET cjson PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${INSTALL_DIR}/ # jemalloc ExternalProject_Add(libjemalloc PREFIX libjemalloc URL ${CMAKE_CURRENT_SOURCE_DIR}/jemalloc-5.3.0.tar.bz2 - CONFIGURE_COMMAND ./autogen.sh --prefix=<INSTALL_DIR> --enable-prof + CONFIGURE_COMMAND ./autogen.sh --prefix=<INSTALL_DIR> #--enable-prof --enable-prof-libunwind BUILD_COMMAND make BUILD_IN_SOURCE 1 INSTALL_COMMAND make install prefix=<INSTALL_DIR>) |
