~ruther/guix-local

ref: next-master guix-local/gnu/packages/patches/opendht-meson-liburing.patch -rw-r--r-- 696 bytes
b989e013 — Andy Tai gnu: koboldcpp: Update to 1.106.2. 30 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Upstream-status: <https://github.com/savoirfairelinux/opendht/pull/821>

diff --git a/meson.build b/meson.build
index 7d7c5e0a..d3c4a500 100644
--- a/meson.build
+++ b/meson.build
@@ -208,12 +208,18 @@ if get_option('tools').enabled()
         install: true,
     )
     if llhttp.found()
+        durl_deps = [msgpack, openssl]
+
+        if io_uring.found()
+            durl_deps += io_uring
+        endif
+
         durl = executable(
             'durl',
             'tools/durl.cpp',
             include_directories: opendht_interface_inc,
             link_with: opendht,
-            dependencies: [msgpack, openssl],
+            dependencies: durl_deps,
         )
     endif
 endif