]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
kv: explicitly set DISABLE_JEMALLOC for rocksdb in Makefile.am.
authorKefu Chai <kchai@redhat.com>
Wed, 8 Jun 2016 03:32:10 +0000 (11:32 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 8 Jun 2016 04:06:31 +0000 (12:06 +0800)
commit9c507333c53798eed4e2f736c21c3a3964d0755c
treebe75dd94d8b6f14c5b74afdfa43897a76fa75add
parentcb7645fc86901824b0ed93394bbb05ae4e2a5059
kv: explicitly set DISABLE_JEMALLOC for rocksdb in Makefile.am.

we should disable rocksdb from using jemalloc even it is installed
in the building host. as it causes unresolved symbols if ceph is not
configured to use jemalloc and hence is not linked against it.

we can pass "DISABLE_JEMALLOC=0" to rocksdb's Makefile in hope to enable
jemalloc. because rocksdb checks for jemalloc using
```
ifndef DISABLE_JEMALLOC
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/kv/Makefile.am