diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-02-14 13:13:48 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-02-14 13:13:48 +0300 |
commit | dde0765de2bf61afc063650159b6274ffe407b0a (patch) | |
tree | 96ecb5ac025bc5409169163406151e9e4d000f22 /CMakeLists.txt | |
parent | a439c8026a5304da6751ce0b0cc715419abad6cc (diff) |
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.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |