summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/math/.yandex_meta/__init__.py
blob: bcaacb4efe57751ed691fd42e8cad3f7786ed50e (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
from devtools.yamaker import boost
from devtools.yamaker.project import NixSourceProject


def post_install(self):
    self.yamakes["."] = boost.make_library(self)


boost_math = NixSourceProject(
    nixattr="boost_math",
    arcdir=boost.make_arcdir("math"),
    owners=["g:cpp-contrib"],
    copy_sources=[
        "include/boost/",
    ],
    disable_includes=[
        "BOOST_MATH_LOGGER_INCLUDE",
        "stdfloat",
    ],
    # exclude tr1/c99 functions to keep this header-only
    copy_sources_except=["math/tr1*"],
    post_install=post_install,
)