aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/base64/avx2/ya.make
blob: 173d3cef55d59c7828b4f09d0c66cc14856529fb (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
OWNER(
    yazevnul
    g:contrib
    g:cpp-contrib
)

LIBRARY()

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()