Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 822880 Details for
Bug 876238
dev-db/mariadb-10.6.8-r1 links against liburing instead of libaio automagically
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to build system to respect user choice of aio/uring.
mariadb-10.6.8-uring-vs-aio.patch (text/plain), 1.47 KB, created by
Martin Kolleck
on 2022-10-09 00:53:32 UTC
(
hide
)
Description:
Patch to build system to respect user choice of aio/uring.
Filename:
MIME Type:
Creator:
Martin Kolleck
Created:
2022-10-09 00:53:32 UTC
Size:
1.47 KB
patch
obsolete
>diff -Naur mariadb-10.6.8/tpool/CMakeLists.txt mariadb-10.6.8-2/tpool/CMakeLists.txt >--- mariadb-10.6.8/tpool/CMakeLists.txt 2022-05-18 08:34:16.000000000 +0000 >+++ mariadb-10.6.8-2/tpool/CMakeLists.txt 2022-10-09 00:23:09.816739816 +0000 >@@ -5,11 +5,10 @@ > OPTION(WITH_URING "Require that io_uring be used" OFF) > OPTION(WITH_LIBAIO "Require that libaio is used, unless uring is there" OFF) > IF(WITH_URING) >- SET(URING_REQUIRED REQUIRED) >+ FIND_PACKAGE(URING) > ELSEIF(WITH_LIBAIO) >- SET(LIBAIO_REQIRED REQUIRED) >+ FIND_PACKAGE(LIBAIO) > ENDIF() >- FIND_PACKAGE(URING QUIET ${URING_REQUIRED}) > IF(URING_FOUND) > SET(URING_FOUND ${URING_FOUND} PARENT_SCOPE) > SET(TPOOL_DEFINES "-DHAVE_URING" PARENT_SCOPE) >@@ -27,15 +26,12 @@ > IF(HAVE_IO_URING_MLOCK_SIZE) > SET_SOURCE_FILES_PROPERTIES(aio_liburing.cc PROPERTIES COMPILE_FLAGS "-DHAVE_IO_URING_MLOCK_SIZE") > ENDIF() >- ELSE() >- FIND_PACKAGE(LIBAIO QUIET ${LIBAIO_REQUIRED}) >- IF(LIBAIO_FOUND) >- SET(TPOOL_DEFINES "-DLINUX_NATIVE_AIO" PARENT_SCOPE) >- ADD_DEFINITIONS(-DLINUX_NATIVE_AIO) >- INCLUDE_DIRECTORIES(${LIBAIO_INCLUDE_DIR}) >- LINK_LIBRARIES(${LIBAIO_LIBRARIES}) >- SET(EXTRA_SOURCES aio_linux.cc) >- ENDIF() >+ ELSEIF(LIBAIO_FOUND) >+ SET(TPOOL_DEFINES "-DLINUX_NATIVE_AIO" PARENT_SCOPE) >+ ADD_DEFINITIONS(-DLINUX_NATIVE_AIO) >+ INCLUDE_DIRECTORIES(${LIBAIO_INCLUDE_DIR}) >+ LINK_LIBRARIES(${LIBAIO_LIBRARIES}) >+ SET(EXTRA_SOURCES aio_linux.cc) > ENDIF() > ENDIF() >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 876238
:
822877
| 822880