blob: 6415d12c99d5a97aa977f6273c757361a5fc07f1 (
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
|
# Generated by devtools/yamaker from nixpkgs 24.05.
LIBRARY()
LICENSE(
Apache-2.0 AND
Apache-2.0 WITH LLVM-exception AND
MIT AND
NCSA
)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
VERSION(16.0.6)
ORIGINAL_SOURCE(https://github.com/llvm/llvm-project/archive/llvmorg-16.0.6.tar.gz)
PEERDIR(
contrib/libs/libunwind
library/cpp/sanitizer/include
)
ADDINCL(
contrib/libs/cxxsupp/libcxxabi/include
contrib/libs/cxxsupp/libcxx/include
contrib/libs/cxxsupp/libcxx/src
)
NO_COMPILER_WARNINGS()
NO_RUNTIME()
NO_UTIL()
CFLAGS(
-D_LIBCPP_BUILDING_LIBRARY
-D_LIBCXXABI_BUILDING_LIBRARY
)
SRCS(
src/abort_message.cpp
src/cxa_aux_runtime.cpp
src/cxa_default_handlers.cpp
src/cxa_demangle.cpp
src/cxa_exception.cpp
src/cxa_exception_storage.cpp
src/cxa_guard.cpp
src/cxa_handlers.cpp
src/cxa_personality.cpp
src/cxa_vector.cpp
src/cxa_virtual.cpp
src/fallback_malloc.cpp
src/private_typeinfo.cpp
src/stdlib_exception.cpp
src/stdlib_new_delete.cpp
src/stdlib_stdexcept.cpp
src/stdlib_typeinfo.cpp
)
SRC_C_PIC(
src/cxa_thread_atexit.cpp
-fno-lto
)
IF (OS_EMSCRIPTEN)
CFLAGS(
-D_LIBCPP_SAFE_STATIC=
-D_LIBCXXABI_DTOR_FUNC=
-D__USING_WASM_EXCEPTIONS__
)
ENDIF()
END()
|