Commit b13abd57 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5127 make jemalloc use a private namespace internally


git-svn-id: file:///svn/toku/tokudb@50738 c7de825b-a66e-492c-adef-691d508d4ae1
parent a4687f33
...@@ -8,7 +8,7 @@ set(JEMALLOC_SOURCE_DIR "${TOKU_SVNROOT}/jemalloc-3.2.0" CACHE FILEPATH "Where t ...@@ -8,7 +8,7 @@ set(JEMALLOC_SOURCE_DIR "${TOKU_SVNROOT}/jemalloc-3.2.0" CACHE FILEPATH "Where t
if (NOT EXISTS "${JEMALLOC_SOURCE_DIR}/configure") if (NOT EXISTS "${JEMALLOC_SOURCE_DIR}/configure")
message(FATAL_ERROR "Can't find jemalloc sources. Please check them out to ${JEMALLOC_SOURCE_DIR} or modify TOKU_SVNROOT (${TOKU_SVNROOT}) or JEMALLOC_SOURCE_DIR.") message(FATAL_ERROR "Can't find jemalloc sources. Please check them out to ${JEMALLOC_SOURCE_DIR} or modify TOKU_SVNROOT (${TOKU_SVNROOT}) or JEMALLOC_SOURCE_DIR.")
endif () endif ()
set(jemalloc_configure_opts "CC=${CMAKE_C_COMPILER}") set(jemalloc_configure_opts "CC=${CMAKE_C_COMPILER}" "--with-private-namespace=tokudb_jemalloc_internal_")
if (NOT CMAKE_BUILD_TYPE MATCHES Release) if (NOT CMAKE_BUILD_TYPE MATCHES Release)
list(APPEND jemalloc_configure_opts --enable-debug) list(APPEND jemalloc_configure_opts --enable-debug)
endif () endif ()
......
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