ya.make 500 B

12345678910111213141516171819202122232425262728293031323334
  1. LIBRARY()
  2. LICENSE(Apache-2.0)
  3. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  4. ALLOCATOR_IMPL()
  5. # https://github.com/google/tcmalloc
  6. VERSION(2021-10-04-45c59ccbc062ac96d83710205033c656e490d376)
  7. SRCS(
  8. # Options
  9. tcmalloc/want_hpaa.cc
  10. )
  11. INCLUDE(common.inc)
  12. CFLAGS(
  13. -DTCMALLOC_256K_PAGES
  14. )
  15. END()
  16. IF (NOT DLL_FOR)
  17. RECURSE(
  18. default
  19. dynamic
  20. malloc_extension
  21. no_percpu_cache
  22. numa_256k
  23. numa_large_pages
  24. small_but_slow
  25. )
  26. ENDIF()