diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2019-01-09 12:54:11 -0500 |
---|---|---|
committer | Henrik Edin <henrik.edin@mongodb.com> | 2019-01-25 13:37:26 -0500 |
commit | cb7c8ceba4bf7d6007a250799bfa35c129dd3e58 (patch) | |
tree | 1a9285e804767841de1b664150c73abd36e2f45c /src/third_party/scripts | |
parent | 4f06ba60e0fef61a4136c4c77ae4e98627e16ffa (diff) | |
download | mongo-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/scripts')
-rwxr-xr-x[-rw-r--r--] | src/third_party/scripts/gperftools_get_sources.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/third_party/scripts/gperftools_get_sources.sh b/src/third_party/scripts/gperftools_get_sources.sh index 6b3b8723407..ede6971ceb6 100644..100755 --- a/src/third_party/scripts/gperftools_get_sources.sh +++ b/src/third_party/scripts/gperftools_get_sources.sh @@ -20,7 +20,7 @@ if [ "$#" -ne 0 ]; then exit 1 fi -VERSION=2.5 +VERSION=2.7 NAME=gperftools TARBALL=$NAME-$VERSION.tar.gz TARBALL_DIR=$NAME-$VERSION @@ -62,8 +62,7 @@ cd $TEMP_DIR # Adjust config.h, See note 2 at top of file mkdir $DEST_DIR/build_$TARGET_UNAME || true -sed "s/.*MALLOC_HOOK_MAYBE_VOLATILE.*/\/* #undef MALLOC_HOOK_MAYBE_VOLATILE *\//" < src/config.h \ - > $DEST_DIR/build_$TARGET_UNAME/config.h +cp src/config.h $DEST_DIR/build_$TARGET_UNAME/config.h # Generate tcmalloc.h # See note 3 at top of file |