aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/udfs/common/math/ya.make
blob: f3028b6d2c49e7272190d291c103ecf9d6cf0d1d (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
YQL_UDF_CONTRIB(math_udf)
    
    YQL_ABI_VERSION(
        2
        28
        0
    )
    
    SRCS(
        math_udf.cpp
    )

    IF (BUILD_TYPE != "release" AND BUILD_TYPE != "relwithdebinfo")
        CFLAGS(-DDISABLE_IR)
    ELSE()
        USE_LLVM_BC16()
        
        LLVM_BC(
            math_ir.cpp
            lib/erfinv.cpp
            NAME Math
            SYMBOLS
            PiIR
            EIR
            EpsIR
            RoundDownwardIR
            RoundToNearestIR
            RoundTowardZeroIR
            RoundUpwardIR
            AbsIR
            AcosIR
            AsinIR
            AsinhIR
            AtanIR
            CbrtIR
            CeilIR
            CosIR
            CoshIR
            ErfIR
            ErfInvIR
            ErfcInvIR
            ExpIR
            Exp2IR
            FabsIR
            FloorIR
            LgammaIR
            RintIR
            SinIR
            SinhIR
            SqrtIR
            TanIR
            TanhIR
            TgammaIR
            TruncIR
            IsFiniteIR
            IsInfIR
            IsNaNIR
            Atan2IR
            FmodIR
            HypotIR
            RemainderIR
            PowIR
            LdexpIR
            LogIR
            Log2IR
            Log10IR
            SigmoidIR
            FuzzyEqualsIR
            RoundIR
            ModIR
            RemIR
        )

    ENDIF()
    
    
    PEERDIR(
        yql/essentials/udfs/common/math/lib
    )
    
    END()

RECURSE(
    lib
)

RECURSE_FOR_TESTS(
   test
)