forked from rook/rook
ceph: use libc allocator on non intel platforms
This commit is contained in:
@@ -30,7 +30,12 @@ TEMP := $(shell mktemp -d)
|
||||
# Build Ceph
|
||||
|
||||
CEPH_BUILD_TYPE ?= release
|
||||
|
||||
ifeq ($(GOARCH),amd64)
|
||||
CEPH_ALLOCATOR ?= tcmalloc
|
||||
else
|
||||
CEPH_ALLOCATOR ?= libc
|
||||
endif
|
||||
|
||||
ifeq ($(CEPH_ALLOCATOR),tcmalloc)
|
||||
EXTRA_LIBS += libgoogle-perftools4
|
||||
|
||||
Reference in New Issue
Block a user