aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/fast_float/.yandex_meta/__init__.py
blob: 5b9b119efc1f68799f1a75068885941d500488e2 (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
from devtools.yamaker.modules import Library
from devtools.yamaker.project import NixSourceProject


def post_install(self):
    self.yamakes["."] = self.module(
        Library,
        NO_UTIL=True,
        NO_RUNTIME=True,
        NO_COMPILER_WARNINGS=True,
    )


fast_float = NixSourceProject(
    owners=["g:clickhouse", "g:cpp-contrib", "g:kikimr"],
    nixattr="fast-float",
    arcdir="contrib/restricted/fast_float",
    copy_sources=["include/fast_float/*.h"],
    disable_includes=[
        "stdfloat",
        "sys/byteorder.h",
    ],
    post_install=post_install,
)