]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
src/os/CMakeLists.txt: AIO|FUSE exclude
authorWillem Jan Withagen <wjw@digiware.nl>
Sun, 31 Jul 2016 21:41:31 +0000 (23:41 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Mon, 29 Aug 2016 14:18:29 +0000 (16:18 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/os/CMakeLists.txt

index 9cc14367c1b403fe78f8d1e38ebd732c64b92926..ac3e809181be3f3dc32dc74fa4c35fd7db1cfb3b 100644 (file)
@@ -21,30 +21,36 @@ set(libos_srcs
   filestore/WBThrottle.cc
   filestore/ZFSFileStoreBackend.cc
   memstore/MemStore.cc
+  kstore/kv.cc
   kstore/KStore.cc
   kstore/kstore_types.cc
-  bluestore/kv.cc
-  bluestore/Allocator.cc
-  bluestore/BitmapFreelistManager.cc
-  bluestore/BlockDevice.cc
-  bluestore/BlueFS.cc
-  bluestore/bluefs_types.cc
-  bluestore/BlueRocksEnv.cc
-  bluestore/BlueStore.cc
-  bluestore/bluestore_types.cc
-  bluestore/ExtentFreelistManager.cc
-  bluestore/FreelistManager.cc
-  bluestore/KernelDevice.cc
-  bluestore/StupidAllocator.cc
-  bluestore/BitMapAllocator.cc
-  bluestore/BitAllocator.cc
   fs/FS.cc
   ${libos_xfs_srcs})
 
+if(HAVE_LIBAIO)
+  list(APPEND libos_srcs
+    bluestore/kv.cc
+    bluestore/Allocator.cc
+    bluestore/BitmapFreelistManager.cc
+    bluestore/BlockDevice.cc
+    bluestore/BlueFS.cc
+    bluestore/bluefs_types.cc
+    bluestore/BlueRocksEnv.cc
+    bluestore/BlueStore.cc
+    bluestore/bluestore_types.cc
+    bluestore/ExtentFreelistManager.cc
+    bluestore/FreelistManager.cc
+    bluestore/KernelDevice.cc
+    bluestore/StupidAllocator.cc
+    bluestore/BitMapAllocator.cc
+    bluestore/BitAllocator.cc
+  )
+endif(HAVE_LIBAIO)
+
 if(WITH_FUSE)
   list(APPEND libos_srcs
     FuseStore.cc)
-endif()
+endif(WITH_FUSE)
 
 if(WITH_SPDK)
   list(APPEND libos_srcs
@@ -55,9 +61,9 @@ add_library(os STATIC ${libos_srcs} $<TARGET_OBJECTS:kv_objs>)
 
 if(HAVE_LIBAIO)
   target_link_libraries(os ${AIO_LIBRARIES})
-endif()
+endif(HAVE_LIBAIO)
 
-if(HAVE_LIBFUSE)
+if(WITH_FUSE)
   target_link_libraries(os ${FUSE_LIBRARIES})
 endif()