Skip to content

Commit

Permalink
liburing: only build on Linux
Browse files Browse the repository at this point in the history
Signed-off-by: Rosen Penev <rosenp@gmail.com>
  • Loading branch information
neheb authored and jpakkane committed Nov 11, 2022
1 parent 2ce6e0e commit cf9b4b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions releases.json
Original file line number Diff line number Diff line change
Expand Up @@ -1189,6 +1189,7 @@
"uring"
],
"versions": [
"2.2-2",
"2.2-1",
"2.1-1",
"2.0-1"
Expand Down
4 changes: 4 additions & 0 deletions subprojects/packagefiles/liburing/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ project('liburing', ['c','cpp'],
'cpp_std=c++11',
'warning_level=2'])

if host_machine.system() != 'linux'
error('Everything except Linux is unsupported. uring is a Linux framework')
endif

add_project_arguments('-D_GNU_SOURCE',
'-D__SANE_USERSPACE_TYPES__',
'-include', meson.current_build_dir() + '/config-host.h',
Expand Down

0 comments on commit cf9b4b0

Please sign in to comment.