CMakeLists.darwin-x86_64.txt 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. # This file was generated by the build system used internally in the Yandex monorepo.
  2. # Only simple modifications are allowed (adding source-files to targets, adding simple properties
  3. # like target_include_directories). These modifications will be ported to original
  4. # ya.make files by maintainers. Any complex modifications which can't be ported back to the
  5. # original buildsystem will not be accepted.
  6. add_library(contrib-libs-jemalloc)
  7. target_compile_options(contrib-libs-jemalloc PRIVATE
  8. -funroll-loops
  9. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  10. )
  11. target_include_directories(contrib-libs-jemalloc PRIVATE
  12. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/include
  13. ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include
  14. )
  15. target_link_libraries(contrib-libs-jemalloc PUBLIC
  16. contrib-libs-cxxsupp
  17. )
  18. target_sources(contrib-libs-jemalloc PRIVATE
  19. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/zone.c
  20. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/arena.c
  21. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/background_thread.c
  22. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/base.c
  23. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bin.c
  24. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bin_info.c
  25. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bitmap.c
  26. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/buf_writer.c
  27. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/cache_bin.c
  28. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ckh.c
  29. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/counter.c
  30. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ctl.c
  31. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/decay.c
  32. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/div.c
  33. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ecache.c
  34. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/edata.c
  35. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/edata_cache.c
  36. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ehooks.c
  37. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/emap.c
  38. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/eset.c
  39. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/exp_grow.c
  40. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent.c
  41. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent_dss.c
  42. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent_mmap.c
  43. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/fxp.c
  44. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hook.c
  45. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hpa.c
  46. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hpa_hooks.c
  47. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hpdata.c
  48. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/inspect.c
  49. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/jemalloc.c
  50. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/jemalloc_cpp.cpp
  51. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/large.c
  52. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/log.c
  53. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/malloc_io.c
  54. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/mutex.c
  55. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/nstime.c
  56. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pa.c
  57. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pa_extra.c
  58. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pac.c
  59. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pages.c
  60. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pai.c
  61. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/peak_event.c
  62. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof.c
  63. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_data.c
  64. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_log.c
  65. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_recent.c
  66. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_stats.c
  67. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_sys.c
  68. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/psset.c
  69. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/rtree.c
  70. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/safety_check.c
  71. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/san.c
  72. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/san_bump.c
  73. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sc.c
  74. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sec.c
  75. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/stats.c
  76. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sz.c
  77. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/tcache.c
  78. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/test_hooks.c
  79. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/thread_event.c
  80. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ticker.c
  81. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/tsd.c
  82. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/witness.c
  83. )
  84. add_global_library_for(contrib-libs-jemalloc.global contrib-libs-jemalloc)
  85. target_compile_options(contrib-libs-jemalloc.global PRIVATE
  86. -funroll-loops
  87. $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
  88. )
  89. target_include_directories(contrib-libs-jemalloc.global PRIVATE
  90. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/include
  91. ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include
  92. )
  93. target_link_libraries(contrib-libs-jemalloc.global PUBLIC
  94. contrib-libs-cxxsupp
  95. )
  96. target_sources(contrib-libs-jemalloc.global PRIVATE
  97. ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/reg_zone.cpp
  98. )