123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- # This file was generated by the build system used internally in the Yandex monorepo.
- # Only simple modifications are allowed (adding source-files to targets, adding simple properties
- # like target_include_directories). These modifications will be ported to original
- # ya.make files by maintainers. Any complex modifications which can't be ported back to the
- # original buildsystem will not be accepted.
- add_library(contrib-libs-jemalloc)
- target_compile_options(contrib-libs-jemalloc PRIVATE
- -funroll-loops
- $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
- )
- target_include_directories(contrib-libs-jemalloc PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include
- )
- target_link_libraries(contrib-libs-jemalloc PUBLIC
- contrib-libs-cxxsupp
- )
- target_sources(contrib-libs-jemalloc PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/zone.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/arena.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/background_thread.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/base.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bin.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bin_info.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/bitmap.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/buf_writer.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/cache_bin.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ckh.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/counter.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ctl.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/decay.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/div.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ecache.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/edata.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/edata_cache.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ehooks.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/emap.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/eset.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/exp_grow.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent_dss.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/extent_mmap.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/fxp.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hook.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hpa.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hpa_hooks.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/hpdata.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/inspect.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/jemalloc.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/jemalloc_cpp.cpp
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/large.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/log.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/malloc_io.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/mutex.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/nstime.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pa.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pa_extra.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pac.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pages.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/pai.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/peak_event.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_data.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_log.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_recent.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_stats.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/prof_sys.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/psset.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/rtree.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/safety_check.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/san.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/san_bump.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sc.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sec.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/stats.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/sz.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/tcache.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/test_hooks.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/thread_event.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/ticker.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/tsd.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/src/witness.c
- )
- add_global_library_for(contrib-libs-jemalloc.global contrib-libs-jemalloc)
- target_compile_options(contrib-libs-jemalloc.global PRIVATE
- -funroll-loops
- $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
- )
- target_include_directories(contrib-libs-jemalloc.global PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/include
- ${CMAKE_SOURCE_DIR}/contrib/libs/libunwind/include
- )
- target_link_libraries(contrib-libs-jemalloc.global PUBLIC
- contrib-libs-cxxsupp
- )
- target_sources(contrib-libs-jemalloc.global PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/jemalloc/reg_zone.cpp
- )
|