]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
kvstore: only build on linux
authorNoah Watkins <noahwatkins@gmail.com>
Sun, 29 Dec 2013 21:10:02 +0000 (13:10 -0800)
committerNoah Watkins <noahwatkins@gmail.com>
Sun, 29 Dec 2013 21:31:59 +0000 (13:31 -0800)
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 <noahwatkins@gmail.com>
src/key_value_store/Makefile.am
src/test/Makefile.am

index f01969dc3228b831969d5c905e3b85f637f5a5bd..c4b854f2bd43c0ee460f0c4d36f354bce9e274bc 100644 (file)
@@ -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 \
index a6ec1004e45d6f00827cffd1039ccfad0a7c13d8..b2cfcf99c43af4e94d3b71f4c4a994431b6ae34a 100644 (file)
@@ -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 \