Commit 0b593722 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #6198 install jemalloc so mongo can use it (and eventually mysql too)


git-svn-id: file:///svn/toku/tokudb@55089 c7de825b-a66e-492c-adef-691d508d4ae1
parent dd88f33f
...@@ -24,6 +24,15 @@ add_library(jemalloc STATIC IMPORTED) ...@@ -24,6 +24,15 @@ add_library(jemalloc STATIC IMPORTED)
set_target_properties(jemalloc PROPERTIES IMPORTED_LOCATION set_target_properties(jemalloc PROPERTIES IMPORTED_LOCATION
"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/jemalloc/lib/libjemalloc_pic.a") "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/jemalloc/lib/libjemalloc_pic.a")
add_dependencies(jemalloc build_jemalloc) add_dependencies(jemalloc build_jemalloc)
add_library(jemalloc_nopic STATIC IMPORTED)
set_target_properties(jemalloc_nopic PROPERTIES IMPORTED_LOCATION
"${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/jemalloc/lib/libjemalloc.a")
add_dependencies(jemalloc_nopic build_jemalloc)
install(
DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/jemalloc/lib"
DESTINATION .
)
## add lzma with an external project ## add lzma with an external project
set(xz_configure_opts --with-pic --enable-static) set(xz_configure_opts --with-pic --enable-static)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment