Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
972d4d28
Commit
972d4d28
authored
1 year ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
pkgconfig: add optional liburing dependency
parent
72e0a4fb
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-0
1 addition, 0 deletions
CMakeLists.txt
meson.build
+1
-0
1 addition, 0 deletions
meson.build
opendht.pc.in
+1
-1
1 addition, 1 deletion
opendht.pc.in
with
3 additions
and
1 deletion
CMakeLists.txt
+
1
−
0
View file @
972d4d28
...
...
@@ -408,6 +408,7 @@ else()
target_link_libraries
(
opendht PUBLIC PkgConfig::OPENSSL
)
endif
()
if
(
liburing_FOUND
)
set
(
iouring_lib
", liburing"
)
target_link_libraries
(
opendht PUBLIC PkgConfig::liburing
)
target_compile_definitions
(
opendht PUBLIC ASIO_HAS_IO_URING ASIO_DISABLE_EPOLL
)
endif
()
...
...
This diff is collapsed.
Click to expand it.
meson.build
+
1
−
0
View file @
972d4d28
...
...
@@ -20,6 +20,7 @@ deps = [fmt, gnutls, nettle, msgpack, argon2, openssl, jsoncpp, llhttp, io_uring
add_project_arguments
(
'-DMSGPACK_NO_BOOST'
,
'-DASIO_STANDALONE'
,
language
:
'cpp'
)
if
io_uring
.
found
()
add_project_arguments
(
'-DASIO_HAS_IO_URING'
,
'-DASIO_DISABLE_EPOLL'
,
language
:
'cpp'
)
conf_data
.
set
(
'iouring_lib'
,
', liburing'
)
endif
add_project_arguments
([
'-Wno-return-type'
,
'-Wno-deprecated'
,
'-Wnon-virtual-dtor'
,
'-pedantic-errors'
,
'-fvisibility=hidden'
],
language
:
'cpp'
)
...
...
This diff is collapsed.
Click to expand it.
opendht.pc.in
+
1
−
1
View file @
972d4d28
...
...
@@ -8,5 +8,5 @@ Version: @VERSION@
Libs: -L${libdir} -lopendht
Libs.private: @http_lib@ -pthread
Requires: gnutls >= 3.3@jsoncpp_lib@@openssl_lib@
Requires.private: nettle >= 2.4@argon2_lib@
Requires.private: nettle >= 2.4@argon2_lib@
@iouring_lib@
Cflags: -I${includedir}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment