From: Noah Watkins Date: Sun, 29 Dec 2013 21:10:02 +0000 (-0800) Subject: kvstore: only build on linux X-Git-Tag: v0.75~20^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bbcb022319edab0ee4f62cb0fda477ce1d6481af;p=ceph.git kvstore: only build on linux There are several non-standard errno values used. There is still work to do on addressing errno portability in Ceph, and this disables kvstore on non-Linux platforms until that work is complete. Signed-off-by: Noah Watkins --- diff --git a/src/key_value_store/Makefile.am b/src/key_value_store/Makefile.am index f01969dc3228..c4b854f2bd43 100644 --- a/src/key_value_store/Makefile.am +++ b/src/key_value_store/Makefile.am @@ -1,7 +1,9 @@ +if LINUX libcls_kvs_la_SOURCES = key_value_store/cls_kvs.cc libcls_kvs_la_LIBADD = $(PTHREAD_LIBS) $(EXTRALIBS) libcls_kvs_la_LDFLAGS = ${AM_LDFLAGS} -module -avoid-version -shared -export-symbols-regex '.*__cls_.*' radoslib_LTLIBRARIES += libcls_kvs.la +endif noinst_HEADERS += \ key_value_store/key_value_structure.h \ diff --git a/src/test/Makefile.am b/src/test/Makefile.am index a6ec1004e45d..b2cfcf99c43a 100644 --- a/src/test/Makefile.am +++ b/src/test/Makefile.am @@ -167,11 +167,13 @@ ceph_omapbench_SOURCES = test/omap_bench.cc ceph_omapbench_LDADD = $(LIBRADOS) $(CEPH_GLOBAL) bin_DEBUGPROGRAMS += ceph_omapbench +if LINUX ceph_kvstorebench_SOURCES = \ test/kv_store_bench.cc \ key_value_store/kv_flat_btree_async.cc ceph_kvstorebench_LDADD = $(LIBRADOS) $(CEPH_GLOBAL) bin_DEBUGPROGRAMS += ceph_kvstorebench +endif ceph_multi_stress_watch_SOURCES = \ test/multi_stress_watch.cc \