ya.make 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. # Generated by devtools/yamaker from nixpkgs 21.11.
  2. LIBRARY()
  3. LICENSE(
  4. BSD-2-Clause AND
  5. BSD-2-Clause-Views AND
  6. BSD-3-Clause AND
  7. Public-Domain
  8. )
  9. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  10. VERSION(5.3.0)
  11. ORIGINAL_SOURCE(https://github.com/jemalloc/jemalloc/releases/download/5.3.0/jemalloc-5.3.0.tar.bz2)
  12. ADDINCL(
  13. contrib/libs/jemalloc/include
  14. contrib/libs/libunwind/include
  15. )
  16. IF (OS_WINDOWS)
  17. ADDINCL(
  18. contrib/libs/jemalloc/include/msvc_compat
  19. )
  20. ELSE()
  21. CFLAGS(
  22. -funroll-loops
  23. )
  24. IF (OS_DARWIN OR OS_IOS)
  25. SRCS(
  26. GLOBAL reg_zone.cpp
  27. src/zone.c
  28. )
  29. ELSE()
  30. PEERDIR(
  31. contrib/libs/libunwind
  32. )
  33. CFLAGS(
  34. -fvisibility=hidden
  35. )
  36. ENDIF()
  37. ENDIF()
  38. NO_COMPILER_WARNINGS()
  39. NO_UTIL()
  40. SRCS(
  41. src/arena.c
  42. src/background_thread.c
  43. src/base.c
  44. src/bin.c
  45. src/bin_info.c
  46. src/bitmap.c
  47. src/buf_writer.c
  48. src/cache_bin.c
  49. src/ckh.c
  50. src/counter.c
  51. src/ctl.c
  52. src/decay.c
  53. src/div.c
  54. src/ecache.c
  55. src/edata.c
  56. src/edata_cache.c
  57. src/ehooks.c
  58. src/emap.c
  59. src/eset.c
  60. src/exp_grow.c
  61. src/extent.c
  62. src/extent_dss.c
  63. src/extent_mmap.c
  64. src/fxp.c
  65. src/hook.c
  66. src/hpa.c
  67. src/hpa_hooks.c
  68. src/hpdata.c
  69. src/inspect.c
  70. src/jemalloc.c
  71. src/jemalloc_cpp.cpp
  72. src/large.c
  73. src/log.c
  74. src/malloc_io.c
  75. src/mutex.c
  76. src/nstime.c
  77. src/pa.c
  78. src/pa_extra.c
  79. src/pac.c
  80. src/pages.c
  81. src/pai.c
  82. src/peak_event.c
  83. src/prof.c
  84. src/prof_data.c
  85. src/prof_log.c
  86. src/prof_recent.c
  87. src/prof_stats.c
  88. src/prof_sys.c
  89. src/psset.c
  90. src/rtree.c
  91. src/safety_check.c
  92. src/san.c
  93. src/san_bump.c
  94. src/sc.c
  95. src/sec.c
  96. src/stats.c
  97. src/sz.c
  98. src/tcache.c
  99. src/test_hooks.c
  100. src/thread_event.c
  101. src/ticker.c
  102. src/tsd.c
  103. src/witness.c
  104. )
  105. END()