diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-06-20 23:19:52 +0300 |
---|---|---|
committer | Anton Samokhvalov <pg83@yandex.ru> | 2022-06-20 23:19:52 +0300 |
commit | 711dc2153cf3b578e9a51efe904fcd5da68fd931 (patch) | |
tree | cd099c40ef6664f639d305291bdd14c84acd4ecb /build | |
parent | 1940182aa37a8912f9609df6c24dbc64a05dbc53 (diff) | |
download | ydb-711dc2153cf3b578e9a51efe904fcd5da68fd931.tar.gz |
CPPCOM-76
ref:e958c28af9ec0f6324837115269d9c6a255e4a8a
Diffstat (limited to 'build')
-rw-r--r-- | build/ymake.core.conf | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index abea1fbd05..b08ed80d19 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -471,6 +471,19 @@ when ($OS_DARWIN == "yes") { } # tag:allocator +when ($OS_LINUX == "yes") { + when ($GCC) { + # tcmalloc broken build + } + elsewhen ($SANDBOXING) { + # broken + } + elsewhen ($ARCH_X86_64) { + DEFAULT_ALLOCATOR=TCMALLOC_TC + } +} + +# tag:allocator when ($SANITIZER_TYPE) { when ($SANITIZER_TYPE != "no") { DEFAULT_ALLOCATOR=SYSTEM @@ -1354,7 +1367,7 @@ module _BASE_UNIT: _BARE_UNIT { # Adding PEERDIR from trigger doesn't always work. In this case it # cause troubles in contrib/libs/libc_compat/ubuntu_14 under musl # Workaround this issue by setting variable with PEERDIR in trigger - # and then adding PEERDIR to it's value unconditionally. + # and then adding PEERDIR to it's value unconditionally. when ($USE_UBUNTU_COMPATIBILITY == "yes" && $NEED_PLATFORM_PEERDIRS == "yes") { _UBUNTU_COMPAT_PEERDIR=contrib/libs/libc_compat/ubuntu_14 } |