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:
parent
a439c8026a
commit
dde0765de2
|
@ -369,7 +369,7 @@ endif()
|
|||
mark_as_advanced(LLVM_STATIC)
|
||||
|
||||
# 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)
|
||||
|
||||
# currently only used for BLI_mempool
|
||||
|
|
Loading…
Reference in New Issue