From dde0765de2bf61afc063650159b6274ffe407b0a Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sat, 14 Feb 2015 15:13:48 +0500 Subject: [PATCH] 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. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 026386a876b..29f8c815cf0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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