From 843b28c8eb85e76fa2b193da752bfa434ce78c76 Mon Sep 17 00:00:00 2001 From: Bassam Tabbara Date: Sat, 15 Jul 2017 11:43:07 -0700 Subject: [PATCH] ceph: use libc allocator on non intel platforms --- images/rook/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/images/rook/Makefile b/images/rook/Makefile index f66581afd..29c73ee79 100755 --- a/images/rook/Makefile +++ b/images/rook/Makefile @@ -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