Skip to content

Commit

Permalink
Dev liburing gnu (dmlc#7574)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhett-Ying authored Jul 24, 2024
1 parent bed1d35 commit dd02406
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion graphbolt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux")
liburing
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../third_party/liburing
CONFIGURE_COMMAND <SOURCE_DIR>/configure --cc=${LIBURING_C_COMPILER} --cxx=${CMAKE_CXX_COMPILER} --prefix=/
BUILD_COMMAND bash -c "make -j 4"
# In order to avoid the error `error: redefinition of 'struct in6_pktinfo'` on ubi7
# when building examples, let's build src only.
BUILD_COMMAND bash -c "make -j 4 -C src/"
BUILD_IN_SOURCE ON
INSTALL_COMMAND make install DESTDIR=${LIBURING_INSTALL_DIR}
BUILD_BYPRODUCTS ${LIBURING_INSTALL_DIR}/lib/liburing.a
Expand Down

0 comments on commit dd02406

Please sign in to comment.