Skip to content

Commit

Permalink
Move liburing to else section of WIN32
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandosoder authored and dnotestein committed Nov 11, 2023
1 parent 0acce16 commit d7f12b8
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,16 @@ else( WIN32 ) # Apple AND Linux
# uncomment this line to tell GDB about macros (slows compile times)
# set( CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -gdwarf-2 -g3" )

# liburing-dev does not provide default finduring cmake file, but rocksdb does
# The io_uring engine is able to perform batch submissions and reaps through a single syscall,
# and thus will improve the overall performance of the system on high-version Linux kernels above 5.x
include(libraries/vendor/rocksdb/cmake/modules/Finduring.cmake)
if (NOT uring_FOUND)
message(FATAL_ERROR "Usage of the io_uring engine is preferred in this project")
endif()

endif( WIN32 )

# liburing-dev does not provide default finduring cmake file, but rocksdb does
# The io_uring engine is able to perform batch submissions and reaps through a single syscall,
# and thus will improve the overall performance of the system on high-version Linux kernels above 5.x
include(libraries/vendor/rocksdb/cmake/modules/Finduring.cmake)
if (NOT uring_FOUND)
message(FATAL_ERROR "Usage of the io_uring engine is preferred in this project")
endif()

SET( BOOST_COMPONENTS )
LIST( APPEND BOOST_COMPONENTS
Expand Down

0 comments on commit d7f12b8

Please sign in to comment.