Skip to content
Snippets Groups Projects
Commit dde0765d authored by Sergey Sharybin's avatar Sergey Sharybin
Browse files

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.
parent a439c802
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment