aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-02-11 14:01:56 +0300
committerDaniil Cherednik <dcherednik@ydb.tech>2024-02-14 14:25:55 +0000
commit13541f11ba4a095d131c08643b0332968e8bbada (patch)
treee660668cb2bba7858dabcc11d34359ddeb994df0 /build
parenta42a78eb28fae449efc0badec59fff55046e67a8 (diff)
downloadydb-13541f11ba4a095d131c08643b0332968e8bbada.tar.gz
Separate libstdcxx-specific sysincls into dedicated file
Diffstat (limited to 'build')
-rw-r--r--build/conf/sysincl.conf1
-rw-r--r--build/sysincl/stl-to-libstdcxx.yml13
-rw-r--r--build/sysincl/unsorted.yml8
3 files changed, 14 insertions, 8 deletions
diff --git a/build/conf/sysincl.conf b/build/conf/sysincl.conf
index 0603fcdc4b..65235fa40b 100644
--- a/build/conf/sysincl.conf
+++ b/build/conf/sysincl.conf
@@ -2,6 +2,7 @@ SYSINCL=
SYSINCL+=build/sysincl/macro.yml
SYSINCL+=build/sysincl/libc-to-compat.yml
SYSINCL+=build/sysincl/libc-to-nothing.yml
+SYSINCL+=build/sysincl/stl-to-libstdcxx.yml
SYSINCL+=build/sysincl/stl-to-nothing.yml
SYSINCL+=build/sysincl/linux.yml
SYSINCL+=build/sysincl/windows.yml
diff --git a/build/sysincl/stl-to-libstdcxx.yml b/build/sysincl/stl-to-libstdcxx.yml
new file mode 100644
index 0000000000..5c5476e574
--- /dev/null
+++ b/build/sysincl/stl-to-libstdcxx.yml
@@ -0,0 +1,13 @@
+# These headers are included from e. g. contrib/restricted/boost
+# in order to optimize build times when building against libstdc++.
+#
+# In ya make, such builds are supported when building with -DUSE_STL_SYSTEM
+- includes:
+ - bits/atomicity.h
+ - bits/c++config.h
+ - bits/char_traits.h
+ - bits/move.h
+ - bits/stl_algobase.h
+ - bits/stl_function.h
+ - bits/stl_move.h
+ - bits/stl_pair.h
diff --git a/build/sysincl/unsorted.yml b/build/sysincl/unsorted.yml
index cdf7578906..6b951e4203 100644
--- a/build/sysincl/unsorted.yml
+++ b/build/sysincl/unsorted.yml
@@ -431,8 +431,6 @@
- config_auto.h
#endif
#if defined(_TRASH_) && TODO
- - bits/c++config.h
- - bits/atomicity.h
- gcrypt.h
- gnutls/gnutls.h
- gdwmfapi.h
@@ -480,12 +478,6 @@
- ../ucrt/sys/stat.h
- asm/page.h
- asm/sgidefs.h
- - bits/char_traits.h
- - bits/stl_algobase.h
- - bits/stl_move.h
- - bits/stl_pair.h
- - bits/stl_function.h
- - bits/move.h
- ndir.h
- sunmedia_types.h
- clidef.h