Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-05-13 16:08:34 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-05-13 16:08:34 +0400
commit8941cc626a8689385f5e135899a0e8a86c04ad99 (patch)
treebef4e4e76f801a62ca8a4c32722bd98614ec917f /build_files/scons/config
parent91bddf2b13c61644d60ce909123068609769fbf0 (diff)
Option to use jemalloc when building with scons under linux.
Disabled by default.
Diffstat (limited to 'build_files/scons/config')
-rw-r--r--build_files/scons/config/linux2-config.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/build_files/scons/config/linux2-config.py b/build_files/scons/config/linux2-config.py
index d4e97c78c38..bc2917055fb 100644
--- a/build_files/scons/config/linux2-config.py
+++ b/build_files/scons/config/linux2-config.py
@@ -178,6 +178,14 @@ BF_EXPAT = '/usr'
BF_EXPAT_LIB = 'expat'
BF_EXPAT_LIBPATH = '/usr/lib'
+WITH_BF_JEMALLOC = False
+WITH_BF_STATICJEMALLOC = False
+BF_JEMALLOC = '/usr'
+BF_JEMALLOC_INC = '${BF_JEMALLOC}/include'
+BF_JEMALLOC_LIBPATH = '${BF_JEMALLOC}/lib'
+BF_JEMALLOC_LIB = 'jemalloc'
+BF_JEMALLOC_LIB_STATIC = '${BF_JEMALLOC_LIBPATH}/libjemalloc.a'
+
WITH_BF_OPENMP = True
#Ray trace optimization