]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
ceph-dev-*-setup: do not specify ALLOCATOR 1814/head
authorKefu Chai <kchai@redhat.com>
Sat, 15 May 2021 11:32:11 +0000 (19:32 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 15 May 2021 12:49:23 +0000 (20:49 +0800)
commit901fe2e097548707350bc89c7650e0f72c45d994
treefec83367fb788e33a3999dcd43ae1bae495bb4db
parent7136a7b7357fdc599098e228f67d89d3b55a5cac
ceph-dev-*-setup: do not specify ALLOCATOR

$DIST env variable is not set by ceph-dev-new-setup, as it prepares
the dist tarball for building on different distros. to build with
tcmalloc if gperftools 2.6.2 is available, we leave it to cmake to
decide the allocator to use. because, if ALLOCATOR is not specified,
cmake first tries to find gperftools, and falls back to JeMalloc, and
the libc allocator. after quincy, the fix for gperftools <2.6.2 is
dropped, and gperftools >= 2.6.2 is required, so it's safe. before
quincy, the fix gperftools <2.6.2 is still included, so it's also safe.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-dev-new-setup/build/build
ceph-dev-setup/build/build
scripts/build_utils.sh