浏览代码

Merge pull request #8667 from jakesmith/hpcc-15574

HPCC-15574 Use TBB allocator in Thor and Roxie only

Reviewed-By: Gavin Halliday <gavin.halliday@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 年之前
父节点
当前提交
d81d9138ed
共有 3 个文件被更改,包括 8 次插入4 次删除
  1. 4 0
      roxie/ccd/CMakeLists.txt
  2. 0 4
      system/jlib/CMakeLists.txt
  3. 4 0
      thorlcr/graph/graph_lcr.cmake

+ 4 - 0
roxie/ccd/CMakeLists.txt

@@ -121,4 +121,8 @@ IF (USE_OPENSSL)
     )
 ENDIF()
 
+IF (USE_TBBMALLOC)
+   target_link_libraries ( ccd ${TBBMALLOC_LIBRARIES})
+ENDIF()
+
 

+ 0 - 4
system/jlib/CMakeLists.txt

@@ -198,10 +198,6 @@ target_link_libraries ( jlib
         lz4
        )
 
-if (USE_TBBMALLOC)
-   target_link_libraries ( jlib ${TBBMALLOC_LIBRARIES})
-endif()
-
 if ( ${HAVE_LIBDL} )
 target_link_libraries ( jlib dl)
 endif ( ${HAVE_LIBDL} )

+ 4 - 0
thorlcr/graph/graph_lcr.cmake

@@ -75,4 +75,8 @@ target_link_libraries ( graph_lcr
          roxiemem
     )
 
+if (USE_TBBMALLOC)
+   target_link_libraries ( graph_lcr ${TBBMALLOC_LIBRARIES})
+endif()
+