aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxx/ya.make
diff options
context:
space:
mode:
authorheretic <heretic@yandex-team.ru>2022-02-10 16:45:46 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:46 +0300
commit81eddc8c0b55990194e112b02d127b87d54164a9 (patch)
tree9142afc54d335ea52910662635b898e79e192e49 /contrib/libs/cxxsupp/libcxx/ya.make
parent397cbe258b9e064f49c4ca575279f02f39fef76e (diff)
downloadydb-81eddc8c0b55990194e112b02d127b87d54164a9.tar.gz
Restoring authorship annotation for <heretic@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/ya.make')
-rw-r--r--contrib/libs/cxxsupp/libcxx/ya.make110
1 files changed, 55 insertions, 55 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/ya.make b/contrib/libs/cxxsupp/libcxx/ya.make
index 072e771b61..15403fe6d5 100644
--- a/contrib/libs/cxxsupp/libcxx/ya.make
+++ b/contrib/libs/cxxsupp/libcxx/ya.make
@@ -1,27 +1,27 @@
LIBRARY()
LICENSE(
- Apache-2.0 AND
- Apache-2.0 WITH LLVM-exception AND
- BSD-2-Clause AND
- MIT AND
- NCSA
+ Apache-2.0 AND
+ Apache-2.0 WITH LLVM-exception AND
+ BSD-2-Clause AND
+ MIT AND
+ NCSA
)
-LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
VERSION(2021-04-02-7959d59028dd126416cdf10dbbd22162922e1336)
OWNER(
- halyavin
- somov
+ halyavin
+ somov
g:cpp-committee
- g:cpp-contrib
+ g:cpp-contrib
)
-ADDINCL(
- GLOBAL contrib/libs/cxxsupp/libcxx/include
-)
+ADDINCL(
+ GLOBAL contrib/libs/cxxsupp/libcxx/include
+)
CXXFLAGS(-D_LIBCPP_BUILDING_LIBRARY)
@@ -42,15 +42,15 @@ IF (OS_ANDROID)
ELSE()
LDFLAGS(-lc++abi)
ENDIF()
- CFLAGS(
- -DLIBCXX_BUILDING_LIBCXXABI
- )
+ CFLAGS(
+ -DLIBCXX_BUILDING_LIBCXXABI
+ )
ELSEIF (OS_IOS)
# Take cxxabi implementation from system.
LDFLAGS(-lc++abi)
- CFLAGS(
- -DLIBCXX_BUILDING_LIBCXXABI
- )
+ CFLAGS(
+ -DLIBCXX_BUILDING_LIBCXXABI
+ )
# Yet take builtins library from Arcadia
PEERDIR(
contrib/libs/cxxsupp/builtins
@@ -60,16 +60,16 @@ ELSEIF (CLANG OR MUSL OR OS_DARWIN OR USE_LTO)
# XXX: libcxxrt support for ARM is currently broken
DEFAULT(CXX_RT "glibcxx_static")
# ARM7 OS_SDK has old libstdc++ without aligned allocation support
- CFLAGS(
- GLOBAL -fno-aligned-new
- )
+ CFLAGS(
+ GLOBAL -fno-aligned-new
+ )
ELSE()
DEFAULT(CXX_RT "libcxxrt")
ENDIF()
IF (MUSL)
- PEERDIR(
- contrib/libs/musl/include
- )
+ PEERDIR(
+ contrib/libs/musl/include
+ )
ENDIF()
ELSEIF (OS_WINDOWS)
SRCS(
@@ -84,9 +84,9 @@ ELSEIF (OS_WINDOWS)
GLOBAL -D_WCHAR_H_CPLUSPLUS_98_CONFORMANCE_
)
IF (CLANG_CL)
- PEERDIR(
- contrib/libs/cxxsupp/builtins
- )
+ PEERDIR(
+ contrib/libs/cxxsupp/builtins
+ )
ENDIF()
ELSE()
DEFAULT(CXX_RT "glibcxx_static")
@@ -94,16 +94,16 @@ ELSE()
-Wno-unknown-pragmas
-nostdinc++
)
-ENDIF()
+ENDIF()
IF (OS_LINUX)
EXTRALIBS(-lpthread)
-ENDIF()
+ENDIF()
IF (CLANG)
- CFLAGS(
- GLOBAL -nostdinc++
- )
+ CFLAGS(
+ GLOBAL -nostdinc++
+ )
ENDIF()
# The CXX_RT variable controls which C++ runtime is used.
@@ -124,24 +124,24 @@ IF (CXX_RT == "libcxxrt")
PEERDIR(
contrib/libs/cxxsupp/libcxxabi-parts
contrib/libs/cxxsupp/libcxxrt
- contrib/libs/cxxsupp/builtins
+ contrib/libs/cxxsupp/builtins
+ )
+ ADDINCL(
+ contrib/libs/cxxsupp/libcxxrt
)
- ADDINCL(
- contrib/libs/cxxsupp/libcxxrt
- )
CFLAGS(
GLOBAL -DLIBCXX_BUILDING_LIBCXXRT
)
# These builtins are equivalent to clang -rtlib=compiler_rt and
# are needed by potentially any code generated by clang.
# With glibcxx runtime, builtins are provided by libgcc
-ELSEIF (CXX_RT == "glibcxx" OR CXX_RT == "glibcxx_static")
- LDFLAGS(
- -Wl,-Bstatic
- -lsupc++
- -lgcc
- -lgcc_eh
- -Wl,-Bdynamic
+ELSEIF (CXX_RT == "glibcxx" OR CXX_RT == "glibcxx_static")
+ LDFLAGS(
+ -Wl,-Bstatic
+ -lsupc++
+ -lgcc
+ -lgcc_eh
+ -Wl,-Bdynamic
)
CXXFLAGS(-D__GLIBCXX__=1)
ENABLE(NEED_GLIBCXX_CXX17_SHIMS)
@@ -149,10 +149,10 @@ ELSEIF (CXX_RT == "glibcxx" OR CXX_RT == "glibcxx_static")
GLOBAL -DLIBCXX_BUILDING_LIBGCC
)
ELSEIF (CXX_RT == "glibcxx_dynamic")
- LDFLAGS(
- -lgcc_s
- -lstdc++
- )
+ LDFLAGS(
+ -lgcc_s
+ -lstdc++
+ )
CXXFLAGS(-D__GLIBCXX__=1)
CFLAGS(
GLOBAL -DLIBCXX_BUILDING_LIBGCC
@@ -163,7 +163,7 @@ ELSEIF (CXX_RT == "glibcxx_driver")
ELSEIF (CXX_RT == "default")
# Do nothing
ELSE()
- MESSAGE(FATAL_ERROR "Unexpected CXX_RT value: ${CXX_RT}")
+ MESSAGE(FATAL_ERROR "Unexpected CXX_RT value: ${CXX_RT}")
ENDIF()
IF (NEED_GLIBCXX_CXX17_SHIMS)
@@ -171,16 +171,16 @@ IF (NEED_GLIBCXX_CXX17_SHIMS)
# Assume GCC is bundled with a modern enough version of C++ runtime
ELSEIF (OS_SDK == "ubuntu-12" OR OS_SDK == "ubuntu-14" OR OS_SDK == "ubuntu-16")
# Prior to ubuntu-18, system C++ runtime for C++17 is incomplete
- SRCS(
- glibcxx_eh_cxx17.cpp
- )
+ SRCS(
+ glibcxx_eh_cxx17.cpp
+ )
ENDIF()
ENDIF()
NO_UTIL()
-
+
NO_RUNTIME()
-
+
NO_COMPILER_WARNINGS()
IF (FUZZING)
@@ -230,7 +230,7 @@ SRCS(
src/vector.cpp
)
-IF (NOT OS_WINDOWS)
+IF (NOT OS_WINDOWS)
SRCS(
src/new.cpp
)