1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- # 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
- -fvisibility=hidden
- $<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-linux-headers
- contrib-libs-cxxsupp
- contrib-libs-libunwind
- )
- target_sources(contrib-libs-jemalloc PRIVATE
- ${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
- )
|