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:
14
meson.build
14
meson.build
@ -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,
|
||||
|
Reference in New Issue
Block a user