aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/liburing/.yandex_meta/__init__.py
blob: 7542c73b5d2205e603fa732eaac1f5a6f0cb9b46 (plain) (blame)
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
27
28
29
30
from devtools.yamaker.project import NixProject


liburing = NixProject(
    owners=["g:cpp-contrib", "g:yt"],
    arcdir="contrib/libs/liburing",
    nixattr="liburing",
    license="MIT",
    addincl_global={".": ["./src/include"]},
    copy_sources=[
        "src/arch/aarch64/lib.h",
        "src/arch/aarch64/syscall.h",
    ],
    disable_includes=[
        "arch/generic/lib.h",
        "arch/generic/syscall.h",
        "arch/riscv64/",
        "../generic/syscall.h",
    ],
    ignore_targets=[
        # statx.t depends on struct statx / statx call availability, which were added in glibc 2.28
        "statx.t",
        # fstnotify.t depends on <sys/fanotify> availablity, which is unavailable in current OS_SDK
        "fsnotify.t",
        "uring-ffi",
    ],
    put={
        "uring": ".",
    },
)