<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/contrib/libs/tcmalloc/internal_utils, branch main</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=main</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2026-06-18T17:48:42Z</updated>
<entry>
<title>[tcmalloc] move internal tools to separate build module</title>
<updated>2026-06-18T17:48:42Z</updated>
<author>
<name>ilikepugs</name>
<email>ilikepugs@yandex-team.com</email>
</author>
<published>2026-06-18T17:02:27Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=672cee2005cf67f550ec4d92b6585053278858a4'/>
<id>urn:sha1:672cee2005cf67f550ec4d92b6585053278858a4</id>
<content type='text'>
В [upstream](https://github.com/google/tcmalloc/blob/f69ca17d4c3b9024544039f61fe7af9060d5b531/tcmalloc/internal/BUILD#L457-L475) разбиение сделано умом, но смысла в этом не много - поэтому все слито в один util-модуль.

---

Пришлось прописать `IF (OS_LINUX)` в ya.make'и модулей, потому что без этого сборка новых модулей падала

```
/home/ilikepugs/arc3/arcadia/contrib/libs/tcmalloc/tcmalloc/internal/config.h:105:2: error:
"TCMalloc is only supported on Linux."105 | #error "TCMalloc is only supported on Linux."|
```

Разобраться, почему сборка условного `malloc_extension/`  и прочих старых модулей под `darwin` не падала я не осилил.
commit_hash:1d07360eba1ef59a6d6013da1c82ea5f57bb58f6
</content>
</entry>
</feed>
