CMake: Enable JeMalloc by default
It's really handy to have blender linked against jemalloc because of much better memory fragmentation handling by that library. To be noted: if jemalloc library is not found it'll be disabled with message about that, no compilation error should happen.
This commit is contained in:
@@ -369,7 +369,7 @@ endif()
|
|||||||
mark_as_advanced(LLVM_STATIC)
|
mark_as_advanced(LLVM_STATIC)
|
||||||
|
|
||||||
# disable for now, but plan to support on all platforms eventually
|
# disable for now, but plan to support on all platforms eventually
|
||||||
option(WITH_MEM_JEMALLOC "Enable malloc replacement (http://www.canonware.com/jemalloc)" OFF)
|
option(WITH_MEM_JEMALLOC "Enable malloc replacement (http://www.canonware.com/jemalloc)" ON)
|
||||||
mark_as_advanced(WITH_MEM_JEMALLOC)
|
mark_as_advanced(WITH_MEM_JEMALLOC)
|
||||||
|
|
||||||
# currently only used for BLI_mempool
|
# currently only used for BLI_mempool
|
||||||
|
|||||||
Reference in New Issue
Block a user