summaryrefslogtreecommitdiff
path: root/src/third_party/SConscript
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2019-01-09 12:54:11 -0500
committerHenrik Edin <henrik.edin@mongodb.com>2019-01-25 13:37:26 -0500
commitcb7c8ceba4bf7d6007a250799bfa35c129dd3e58 (patch)
tree1a9285e804767841de1b664150c73abd36e2f45c /src/third_party/SConscript
parent4f06ba60e0fef61a4136c4c77ae4e98627e16ffa (diff)
downloadmongo-cb7c8ceba4bf7d6007a250799bfa35c129dd3e58.tar.gz
SERVER-37996 Add stock gperftools 2.7 as an allocator option activated with --allocator=tcmalloc-experimental
Diffstat (limited to 'src/third_party/SConscript')
-rw-r--r--src/third_party/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/SConscript b/src/third_party/SConscript
index 4a7d44ebdfd..aa9785ce7d6 100644
--- a/src/third_party/SConscript
+++ b/src/third_party/SConscript
@@ -14,7 +14,7 @@ pcreSuffix = "-8.42"
mozjsSuffix = '-45'
yamlSuffix = '-0.6.2'
icuSuffix = '-57.1'
-gperftoolsSuffix = '-2.5'
+gperftoolsSuffix = '-2.7' if env['MONGO_ALLOCATOR'] == "tcmalloc-experimental" else '-2.5'
timelibSuffix = '-2018.01'
tomcryptSuffix = '-1.18.2'
benchmarkSuffix = '-1.4.1'
@@ -324,7 +324,7 @@ if "tom" in env["MONGO_CRYPTO"]:
])
gperftoolsEnv = env
-if (gperftoolsEnv['MONGO_ALLOCATOR'] == "tcmalloc"):
+if (gperftoolsEnv['MONGO_ALLOCATOR'] in ["tcmalloc", "tcmalloc-experimental"]):
if use_system_version_of_library("tcmalloc"):
gperftoolsEnv = env.Clone(
SYSLIBDEPS=[