mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
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 <noahwatkins@gmail.com>
This commit is contained in:
parent
23f715ba82
commit
bbcb022319
@ -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 \
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user