1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

aio: Add liburing dependency

Will be used in a subsequent commit, to implement io_method=io_uring. Kept
separate for easier review.

Reviewed-by: Noah Misch <noah@leadboat.com>
Discussion: https://postgr.es/m/uvrtrknj4kdytuboidbhwclo4gxhswwcpgadptsjvjqcluzmah%40brqs62irg4dt
This commit is contained in:
Andres Freund
2025-03-18 14:40:05 -04:00
parent f056f75daf
commit 8eadd5c73c
10 changed files with 218 additions and 4 deletions

View File

@ -944,6 +944,18 @@ endif
###############################################################
# Library: liburing
###############################################################
liburingopt = get_option('liburing')
liburing = dependency('liburing', required: liburingopt)
if liburing.found()
cdata.set('USE_LIBURING', 1)
endif
###############################################################
# Library: libxml
###############################################################
@ -3164,6 +3176,7 @@ backend_both_deps += [
icu_i18n,
ldap,
libintl,
liburing,
libxml,
lz4,
pam,
@ -3819,6 +3832,7 @@ if meson.version().version_compare('>=0.57')
'icu': icu,
'ldap': ldap,
'libcurl': libcurl,
'liburing': liburing,
'libxml': libxml,
'libxslt': libxslt,
'llvm': llvm,