aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/openmp/ya.make
blob: e8a498faa898c74310cc768ce179d7104a3db1c2 (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
92
# Generated by devtools/yamaker from nixpkgs 21.11.

LIBRARY()

OWNER(
    pg
    setser
    g:contrib
    g:cpp-contrib
)

VERSION(5.0)

ORIGINAL_SOURCE(https://github.com/llvm/llvm-project/archive/f9cc9d7392adeffc52a4cdf3f93d42f2a18b68f9.tar.gz)

LICENSE(
    Intel-LLVM-SGA AND
    MIT AND
    NCSA
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

ADDINCL(
    GLOBAL contrib/libs/cxxsupp/openmp
    contrib/libs/cxxsupp/openmp/thirdparty/ittnotify
)

NO_COMPILER_WARNINGS()

NO_PLATFORM()

NO_UTIL()

NO_LTO()

CFLAGS(
    -fno-exceptions
)

COMPILE_C_AS_CXX()

IF (SANITIZER_TYPE == thread)
    NO_SANITIZE()
    CFLAGS(
        -fPIC
    )
ENDIF()

IF (SANITIZER_TYPE == memory)
    NO_SANITIZE()
    CFLAGS(
        -fPIC
    )
ENDIF()

SRCS(
    asm.S
    kmp_affinity.cpp
    kmp_alloc.c
    kmp_atomic.c
    kmp_barrier.cpp
    kmp_cancel.cpp
    kmp_csupport.c
    kmp_debug.c
    kmp_dispatch.cpp
    kmp_environment.c
    kmp_error.c
    kmp_ftn_cdecl.c
    kmp_ftn_extra.c
    kmp_global.c
    kmp_gsupport.c
    kmp_i18n.c
    kmp_io.c
    kmp_itt.c
    kmp_lock.cpp
    kmp_runtime.c
    kmp_sched.cpp
    kmp_settings.c
    kmp_str.c
    kmp_taskdeps.cpp
    kmp_tasking.c
    kmp_taskq.c
    kmp_threadprivate.c
    kmp_utility.c
    kmp_version.c
    kmp_wait_release.cpp
    thirdparty/ittnotify/ittnotify_static.c
    z_Linux_util.c
)

END()