aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/base64/avx2/ya.make
blob: df7a905a39f79070e1071e61985bc9afad88972f (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
LIBRARY()

VERSION(0.3.0)

LICENSE(
    BSD-2-Clause AND
    MIT
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

NO_UTIL()

SRCS(
    codec_avx2.c
    lib.c
)

IF (ARCH_X86_64 OR ARCH_I386)
    IF (MSVC AND NOT CLANG_CL)
        CONLYFLAGS(/D__AVX2__=1)
    ELSEIF (CLANG_CL)
        CONLYFLAGS(-mavx2)
    ELSE()
        CONLYFLAGS(
            -mavx2
            -std=c11
        )
    ENDIF()
ENDIF()

END()